diff options
Diffstat (limited to 'recipes-graphics/userland/userland_git.bb')
| -rw-r--r-- | recipes-graphics/userland/userland_git.bb | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index 896229e..6ba28c0 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
| @@ -21,31 +21,28 @@ SRC_URI = "\ | |||
| 21 | file://0001-fix-gcc-5.x-inlines.patch \ | 21 | file://0001-fix-gcc-5.x-inlines.patch \ |
| 22 | file://0002-fix-musl-build.patch \ | 22 | file://0002-fix-musl-build.patch \ |
| 23 | file://0003-fix-alloc-size-uninitialized.patch \ | 23 | file://0003-fix-alloc-size-uninitialized.patch \ |
| 24 | file://0002-set-VMCS_INSTALL_PREFIX-to-usr.patch \ | ||
| 25 | file://0003-cmake-generate-and-install-pkgconfig-files.patch \ | ||
| 24 | " | 26 | " |
| 25 | 27 | ||
| 26 | S = "${WORKDIR}/git" | 28 | S = "${WORKDIR}/git" |
| 27 | 29 | ||
| 28 | inherit cmake | 30 | inherit cmake pkgconfig |
| 29 | 31 | ||
| 30 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'" | 32 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'" |
| 31 | CFLAGS_append = " -fPIC" | 33 | CFLAGS_append = " -fPIC" |
| 32 | 34 | ||
| 33 | # The compiled binaries don't provide sonames. | 35 | # Shared libs from userland package build aren't versioned, so we need |
| 34 | SOLIBS = "${SOLIBSDEV}" | 36 | # to force the .so files into the runtime package (and keep them |
| 35 | 37 | # out of -dev package). | |
| 36 | do_install_append() { | 38 | FILES_SOLIBSDEV = "" |
| 37 | mkdir -p ${D}/${prefix} | ||
| 38 | mv ${D}/opt/vc/* ${D}/${prefix} | ||
| 39 | rm -rf ${D}/opt | ||
| 40 | } | ||
| 41 | 39 | ||
| 42 | FILES_${PN} += " \ | 40 | FILES_${PN} += " \ |
| 43 | ${libdir}/*${SOLIBS} \ | 41 | ${libdir}/*.so \ |
| 44 | ${libdir}/plugins" | 42 | ${libdir}/plugins" |
| 45 | FILES_${PN}-dev = "${includedir} \ | 43 | FILES_${PN}-dev += "${includedir} \ |
| 46 | ${prefix}/src" | 44 | ${prefix}/src" |
| 47 | FILES_${PN}-doc += "${datadir}/install" | 45 | FILES_${PN}-doc += "${datadir}/install" |
| 48 | FILES_${PN}-dbg += "${libdir}/plugins/.debug" | 46 | FILES_${PN}-dbg += "${libdir}/plugins/.debug" |
| 49 | 47 | ||
| 50 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 48 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 51 | |||
