diff options
author | 2012-11-23 13:27:10 -0200 | |
---|---|---|
committer | 2012-11-27 16:48:11 -0200 | |
commit | df770f7442cebb8eda8ba0b87f7cc5c85749dea4 (patch) | |
tree | 4f4d34ea8e47a83a4dff4f91c48b73385354d47a /recipes-graphics/amd-gpu-x11-bin | |
parent | d6208e9c1d6fd50295e321f2af31e99dcc7453b2 (diff) | |
download | meta-fsl-arm-df770f7442cebb8eda8ba0b87f7cc5c85749dea4.tar.gz meta-fsl-arm-df770f7442cebb8eda8ba0b87f7cc5c85749dea4.tar.bz2 meta-fsl-arm-df770f7442cebb8eda8ba0b87f7cc5c85749dea4.zip |
amd-gpu-x11-bin-mx51: Use a python function to populate INSANE_SKIP
To avoid manually set the INSANE_SKIP we use an annonymous python snip
to dynamically set it for every package so makeing it more robust and
easy to understand.
Change-Id: I337a407e4d561cdc213d6c6c1d0d5dc76d9ccd7a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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 | 32 |
1 files changed, 8 insertions, 24 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 19791be..66b22d8 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 = "Proprietary" SECTION = "libs" -PR = "r11" +PR = "r12" #todo: Replace for correct AMD license LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802" @@ -19,6 +19,13 @@ SRC_URI[sha256sum] = "c7a6fa03b7aa2a375556c59908876554ba720c1e744baba2debb84a408 inherit fsl-eula-unpack +# FIXME: All binaries lack GNU_HASH in elf binary but as we don't have +# the source we cannot fix it. Disable the insane check for now. +python populate_packages_prepend() { + for p in d.getVar('PACKAGES', True).split(): + d.setVar("INSANE_SKIP_%s" % p, "ldflags") +} + do_install () { install -d ${D}${libdir} install -d ${D}${bindir} @@ -49,56 +56,33 @@ PACKAGES =+ "libgsl-fsl-mx51 libgsl-fsl-mx51-dev libgsl-fsl-mx51-dbg \ lib2dz160-mx51 lib2dz160-mx51-dbg \ lib2dz430-mx51 lib2dz430-mx51-dbg" -INSANE_SKIP_${PN} = "ldflags" - FILES_${PN}-dbg = "${bindir}/.debug/*" FILES_libgsl-fsl-mx51 = "${libdir}/libgsl-fsl${SOLIBS}" FILES_libgsl-fsl-mx51-dev = "${libdir}/libgsl-fsl${SOLIBSDEV}" FILES_libgsl-fsl-mx51-dbg = "${libdir}/.debug/libgsl-fsl${SOLIBS}" -INSANE_SKIP_libgsl-fsl-mx51 = "ldflags" -INSANE_SKIP_libgsl-fsl-mx51-dev = "ldflags" -INSANE_SKIP_libgsl-fsl-mx51-dbg = "ldflags" - FILES_libegl-mx51 = "${libdir}/libEGL${SOLIBS}" FILES_libegl-mx51-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/libEGL${SOLIBSDEV}" FILES_libegl-mx51-dbg = "${libdir}/.debug/libEGL${SOLIBS}" -INSANE_SKIP_libegl-mx51 = "ldflags" -INSANE_SKIP_libegl-mx51-dev = "ldflags" -INSANE_SKIP_libegl-mx51-dbg = "ldflags" - FILES_libgles-mx51 = "${libdir}/libGLESv1*${SOLIBS}" FILES_libgles-mx51-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBSDEV}" FILES_libgles-mx51-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS}" -INSANE_SKIP_libgles-mx51 = "ldflags" -INSANE_SKIP_libgles-mx51-dev = "ldflags" -INSANE_SKIP_libgles-mx51-dbg = "ldflags" FILES_libgles2-mx51 = "${libdir}/libGLESv2${SOLIBS}" FILES_libgles2-mx51-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}" FILES_libgles2-mx51-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" -INSANE_SKIP_libgles2-mx51 = "ldflags" -INSANE_SKIP_libgles2-mx51-dev = "ldflags" -INSANE_SKIP_libgles2-mx51-dbg = "ldflags" FILES_libopenvg-mx51 = "${libdir}/libOpenVG${SOLIBS}" FILES_libopenvg-mx51-dev = "${includedir}/VG ${libdir}/libOpenVG${SOLIBSDEV}" FILES_libopenvg-mx51-dbg = "${libdir}/.debug/libOpenVG${SOLIBS}" -INSANE_SKIP_libopenvg-mx51 = "ldflags" -INSANE_SKIP_libopenvg-mx51-dev = "ldflags" -INSANE_SKIP_libopenvg-mx51-dbg = "ldflags" FILES_lib2dz160-mx51 = "${libdir}/lib2dz160${SOLIBS}" FILES_lib2dz160-mx51-dbg = "${libdir}/.debug/lib2dz160${SOLIBS}" -INSANE_SKIP_lib2dz160-mx51 = "ldflags" -INSANE_SKIP_lib2dz160-mx51-dbg = "ldflags" FILES_lib2dz430-mx51 = "${libdir}/lib2dz430${SOLIBS}" FILES_lib2dz430-mx51-dbg = "${libdir}/.debug/lib2dz430${SOLIBS}" -INSANE_SKIP_lib2dz430-mx51 = "ldflags" -INSANE_SKIP_lib2dz430-mx51-dbg = "ldflags" COMPATIBLE_MACHINE = "(mx5)" PACKAGE_ARCH = "${MACHINE_ARCH}" |