diff options
author | Adrian Alonso <aalonso@freescale.com> | 2012-06-18 17:39:25 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-06-19 12:32:13 -0300 |
commit | 027b56719a2bcb413f599561b6b0d8c48def37df (patch) | |
tree | 93b961bb557600a4ad2bd01f0ad5943406d8a5bf | |
parent | 077d27b0e5989defabe50ad184506b022d1f1280 (diff) | |
download | meta-fsl-arm-027b56719a2bcb413f599561b6b0d8c48def37df.tar.gz |
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>
-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 @@ | |||
4 | DESCRIPTION = "GPU driver and apps for x11 on mx51" | 4 | DESCRIPTION = "GPU driver and apps for x11 on mx51" |
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | SECTION = "libs" | 6 | SECTION = "libs" |
7 | PR = "r2" | 7 | PR = "r3" |
8 | 8 | ||
9 | #todo: Replace for correct AMD license | 9 | #todo: Replace for correct AMD license |
10 | LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802" | 10 | LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802" |
@@ -18,20 +18,16 @@ SRC_URI[sha256sum] = "6150d3d72a3f8abb26df1e31cee0f07f53c106c8d5de014c1175c8cb72 | |||
18 | do_install () { | 18 | do_install () { |
19 | install -d ${D}${libdir} | 19 | install -d ${D}${libdir} |
20 | install -d ${D}${bindir} | 20 | install -d ${D}${bindir} |
21 | install -d ${D}${includedir}/EGL | 21 | install -d ${D}${includedir} |
22 | install -d ${D}${includedir}/GLES | 22 | |
23 | install -d ${D}${includedir}/GLES2 | 23 | cp -axr ${S}/usr/bin/* ${D}${bindir} |
24 | install -d ${D}${includedir}/KHR | 24 | cp -L ${S}/usr/lib/*.so ${D}${libdir} |
25 | install -d ${D}${includedir}/VG | 25 | cp -axr ${S}/usr/include/* ${D}${includedir} |
26 | install -m 0644 ${S}/usr/include/EGL/* ${D}${includedir}/EGL | ||
27 | install -m 0644 ${S}/usr/include/GLES/* ${D}${includedir}/GLES | ||
28 | install -m 0644 ${S}/usr/include/GLES2/* ${D}${includedir}/GLES2 | ||
29 | install -m 0644 ${S}/usr/include/KHR/* ${D}${includedir}/KHR | ||
30 | install -m 0644 ${S}/usr/include/VG/* ${D}${includedir}/VG | ||
31 | install -m 0755 ${S}/usr/lib/* ${D}${libdir} | ||
32 | install -m 0755 ${S}/usr/bin/* ${D}${bindir} | ||
33 | } | ||
34 | 26 | ||
27 | find ${D}${bindir} -type f -exec chmod 755 {} \; | ||
28 | find ${D}${libdir} -type f -exec chmod 755 {} \; | ||
29 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
30 | } | ||
35 | 31 | ||
36 | INSANE_SKIP_${PN} = "ldflags" | 32 | INSANE_SKIP_${PN} = "ldflags" |
37 | INSANE_SKIP_${PN}-dev = "ldflags" | 33 | INSANE_SKIP_${PN}-dev = "ldflags" |