summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/userland/userland_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/userland/userland_git.bb')
-rw-r--r--recipes-graphics/userland/userland_git.bb21
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
26S = "${WORKDIR}/git" 28S = "${WORKDIR}/git"
27 29
28inherit cmake 30inherit cmake pkgconfig
29 31
30EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'" 32EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'"
31CFLAGS_append = " -fPIC" 33CFLAGS_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
34SOLIBS = "${SOLIBSDEV}" 36# to force the .so files into the runtime package (and keep them
35 37# out of -dev package).
36do_install_append() { 38FILES_SOLIBSDEV = ""
37 mkdir -p ${D}/${prefix}
38 mv ${D}/opt/vc/* ${D}/${prefix}
39 rm -rf ${D}/opt
40}
41 39
42FILES_${PN} += " \ 40FILES_${PN} += " \
43 ${libdir}/*${SOLIBS} \ 41 ${libdir}/*.so \
44 ${libdir}/plugins" 42 ${libdir}/plugins"
45FILES_${PN}-dev = "${includedir} \ 43FILES_${PN}-dev += "${includedir} \
46 ${prefix}/src" 44 ${prefix}/src"
47FILES_${PN}-doc += "${datadir}/install" 45FILES_${PN}-doc += "${datadir}/install"
48FILES_${PN}-dbg += "${libdir}/plugins/.debug" 46FILES_${PN}-dbg += "${libdir}/plugins/.debug"
49 47
50PACKAGE_ARCH = "${MACHINE_ARCH}" 48PACKAGE_ARCH = "${MACHINE_ARCH}"
51