diff options
author | 2012-06-18 17:39:25 -0500 | |
---|---|---|
committer | 2012-06-19 12:32:13 -0300 | |
commit | 027b56719a2bcb413f599561b6b0d8c48def37df (patch) | |
tree | 93b961bb557600a4ad2bd01f0ad5943406d8a5bf /recipes-graphics/amd-gpu-x11-bin | |
parent | 077d27b0e5989defabe50ad184506b022d1f1280 (diff) | |
download | meta-fsl-arm-027b56719a2bcb413f599561b6b0d8c48def37df.tar.gz meta-fsl-arm-027b56719a2bcb413f599561b6b0d8c48def37df.tar.bz2 meta-fsl-arm-027b56719a2bcb413f599561b6b0d8c48def37df.zip |
amd-gpu-x11-bin-mx51: clean up install function
* Cleanup install fucntion, make it more generic
* Bump PR
Signed-off-by: Adrian Alonso <aalonso@freescale.com>
Diffstat (limited to 'recipes-graphics/amd-gpu-x11-bin')
-rw-r--r-- | recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb index 8ebaef3..554f28d 100644 --- a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb +++ b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb @@ -4,7 +4,7 @@ DESCRIPTION = "GPU driver and apps for x11 on mx51" LICENSE = "MIT" SECTION = "libs" -PR = "r2" +PR = "r3" #todo: Replace for correct AMD license LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802" @@ -18,20 +18,16 @@ SRC_URI[sha256sum] = "6150d3d72a3f8abb26df1e31cee0f07f53c106c8d5de014c1175c8cb72 do_install () { install -d ${D}${libdir} install -d ${D}${bindir} - install -d ${D}${includedir}/EGL - install -d ${D}${includedir}/GLES - install -d ${D}${includedir}/GLES2 - install -d ${D}${includedir}/KHR - install -d ${D}${includedir}/VG - install -m 0644 ${S}/usr/include/EGL/* ${D}${includedir}/EGL - install -m 0644 ${S}/usr/include/GLES/* ${D}${includedir}/GLES - install -m 0644 ${S}/usr/include/GLES2/* ${D}${includedir}/GLES2 - install -m 0644 ${S}/usr/include/KHR/* ${D}${includedir}/KHR - install -m 0644 ${S}/usr/include/VG/* ${D}${includedir}/VG - install -m 0755 ${S}/usr/lib/* ${D}${libdir} - install -m 0755 ${S}/usr/bin/* ${D}${bindir} -} + install -d ${D}${includedir} + + cp -axr ${S}/usr/bin/* ${D}${bindir} + cp -L ${S}/usr/lib/*.so ${D}${libdir} + cp -axr ${S}/usr/include/* ${D}${includedir} + find ${D}${bindir} -type f -exec chmod 755 {} \; + find ${D}${libdir} -type f -exec chmod 755 {} \; + find ${D}${includedir} -type f -exec chmod 660 {} \; +} INSANE_SKIP_${PN} = "ldflags" INSANE_SKIP_${PN}-dev = "ldflags" |