diff options
| -rw-r--r-- | meta-fsl-arm/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/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb index 19791be3b..66b22d8cb 100644 --- a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb +++ b/meta-fsl-arm/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 = "Proprietary" | 5 | LICENSE = "Proprietary" |
| 6 | SECTION = "libs" | 6 | SECTION = "libs" |
| 7 | PR = "r11" | 7 | PR = "r12" |
| 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" |
| @@ -19,6 +19,13 @@ SRC_URI[sha256sum] = "c7a6fa03b7aa2a375556c59908876554ba720c1e744baba2debb84a408 | |||
| 19 | 19 | ||
| 20 | inherit fsl-eula-unpack | 20 | inherit fsl-eula-unpack |
| 21 | 21 | ||
| 22 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | ||
| 23 | # the source we cannot fix it. Disable the insane check for now. | ||
| 24 | python populate_packages_prepend() { | ||
| 25 | for p in d.getVar('PACKAGES', True).split(): | ||
| 26 | d.setVar("INSANE_SKIP_%s" % p, "ldflags") | ||
| 27 | } | ||
| 28 | |||
| 22 | do_install () { | 29 | do_install () { |
| 23 | install -d ${D}${libdir} | 30 | install -d ${D}${libdir} |
| 24 | install -d ${D}${bindir} | 31 | install -d ${D}${bindir} |
| @@ -49,56 +56,33 @@ PACKAGES =+ "libgsl-fsl-mx51 libgsl-fsl-mx51-dev libgsl-fsl-mx51-dbg \ | |||
| 49 | lib2dz160-mx51 lib2dz160-mx51-dbg \ | 56 | lib2dz160-mx51 lib2dz160-mx51-dbg \ |
| 50 | lib2dz430-mx51 lib2dz430-mx51-dbg" | 57 | lib2dz430-mx51 lib2dz430-mx51-dbg" |
| 51 | 58 | ||
| 52 | INSANE_SKIP_${PN} = "ldflags" | ||
| 53 | |||
| 54 | FILES_${PN}-dbg = "${bindir}/.debug/*" | 59 | FILES_${PN}-dbg = "${bindir}/.debug/*" |
| 55 | 60 | ||
| 56 | FILES_libgsl-fsl-mx51 = "${libdir}/libgsl-fsl${SOLIBS}" | 61 | FILES_libgsl-fsl-mx51 = "${libdir}/libgsl-fsl${SOLIBS}" |
| 57 | FILES_libgsl-fsl-mx51-dev = "${libdir}/libgsl-fsl${SOLIBSDEV}" | 62 | FILES_libgsl-fsl-mx51-dev = "${libdir}/libgsl-fsl${SOLIBSDEV}" |
| 58 | FILES_libgsl-fsl-mx51-dbg = "${libdir}/.debug/libgsl-fsl${SOLIBS}" | 63 | FILES_libgsl-fsl-mx51-dbg = "${libdir}/.debug/libgsl-fsl${SOLIBS}" |
| 59 | 64 | ||
| 60 | INSANE_SKIP_libgsl-fsl-mx51 = "ldflags" | ||
| 61 | INSANE_SKIP_libgsl-fsl-mx51-dev = "ldflags" | ||
| 62 | INSANE_SKIP_libgsl-fsl-mx51-dbg = "ldflags" | ||
| 63 | |||
| 64 | FILES_libegl-mx51 = "${libdir}/libEGL${SOLIBS}" | 65 | FILES_libegl-mx51 = "${libdir}/libEGL${SOLIBS}" |
| 65 | FILES_libegl-mx51-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/libEGL${SOLIBSDEV}" | 66 | FILES_libegl-mx51-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/libEGL${SOLIBSDEV}" |
| 66 | FILES_libegl-mx51-dbg = "${libdir}/.debug/libEGL${SOLIBS}" | 67 | FILES_libegl-mx51-dbg = "${libdir}/.debug/libEGL${SOLIBS}" |
| 67 | 68 | ||
| 68 | INSANE_SKIP_libegl-mx51 = "ldflags" | ||
| 69 | INSANE_SKIP_libegl-mx51-dev = "ldflags" | ||
| 70 | INSANE_SKIP_libegl-mx51-dbg = "ldflags" | ||
| 71 | |||
| 72 | FILES_libgles-mx51 = "${libdir}/libGLESv1*${SOLIBS}" | 69 | FILES_libgles-mx51 = "${libdir}/libGLESv1*${SOLIBS}" |
| 73 | FILES_libgles-mx51-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBSDEV}" | 70 | FILES_libgles-mx51-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBSDEV}" |
| 74 | FILES_libgles-mx51-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS}" | 71 | FILES_libgles-mx51-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS}" |
| 75 | INSANE_SKIP_libgles-mx51 = "ldflags" | ||
| 76 | INSANE_SKIP_libgles-mx51-dev = "ldflags" | ||
| 77 | INSANE_SKIP_libgles-mx51-dbg = "ldflags" | ||
| 78 | 72 | ||
| 79 | FILES_libgles2-mx51 = "${libdir}/libGLESv2${SOLIBS}" | 73 | FILES_libgles2-mx51 = "${libdir}/libGLESv2${SOLIBS}" |
| 80 | FILES_libgles2-mx51-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}" | 74 | FILES_libgles2-mx51-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}" |
| 81 | FILES_libgles2-mx51-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" | 75 | FILES_libgles2-mx51-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" |
| 82 | INSANE_SKIP_libgles2-mx51 = "ldflags" | ||
| 83 | INSANE_SKIP_libgles2-mx51-dev = "ldflags" | ||
| 84 | INSANE_SKIP_libgles2-mx51-dbg = "ldflags" | ||
| 85 | 76 | ||
| 86 | FILES_libopenvg-mx51 = "${libdir}/libOpenVG${SOLIBS}" | 77 | FILES_libopenvg-mx51 = "${libdir}/libOpenVG${SOLIBS}" |
| 87 | FILES_libopenvg-mx51-dev = "${includedir}/VG ${libdir}/libOpenVG${SOLIBSDEV}" | 78 | FILES_libopenvg-mx51-dev = "${includedir}/VG ${libdir}/libOpenVG${SOLIBSDEV}" |
| 88 | FILES_libopenvg-mx51-dbg = "${libdir}/.debug/libOpenVG${SOLIBS}" | 79 | FILES_libopenvg-mx51-dbg = "${libdir}/.debug/libOpenVG${SOLIBS}" |
| 89 | INSANE_SKIP_libopenvg-mx51 = "ldflags" | ||
| 90 | INSANE_SKIP_libopenvg-mx51-dev = "ldflags" | ||
| 91 | INSANE_SKIP_libopenvg-mx51-dbg = "ldflags" | ||
| 92 | 80 | ||
| 93 | FILES_lib2dz160-mx51 = "${libdir}/lib2dz160${SOLIBS}" | 81 | FILES_lib2dz160-mx51 = "${libdir}/lib2dz160${SOLIBS}" |
| 94 | FILES_lib2dz160-mx51-dbg = "${libdir}/.debug/lib2dz160${SOLIBS}" | 82 | FILES_lib2dz160-mx51-dbg = "${libdir}/.debug/lib2dz160${SOLIBS}" |
| 95 | INSANE_SKIP_lib2dz160-mx51 = "ldflags" | ||
| 96 | INSANE_SKIP_lib2dz160-mx51-dbg = "ldflags" | ||
| 97 | 83 | ||
| 98 | FILES_lib2dz430-mx51 = "${libdir}/lib2dz430${SOLIBS}" | 84 | FILES_lib2dz430-mx51 = "${libdir}/lib2dz430${SOLIBS}" |
| 99 | FILES_lib2dz430-mx51-dbg = "${libdir}/.debug/lib2dz430${SOLIBS}" | 85 | FILES_lib2dz430-mx51-dbg = "${libdir}/.debug/lib2dz430${SOLIBS}" |
| 100 | INSANE_SKIP_lib2dz430-mx51 = "ldflags" | ||
| 101 | INSANE_SKIP_lib2dz430-mx51-dbg = "ldflags" | ||
| 102 | 86 | ||
| 103 | COMPATIBLE_MACHINE = "(mx5)" | 87 | COMPATIBLE_MACHINE = "(mx5)" |
| 104 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 88 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
