[yocto] [meta-raspberrypi][PATCH 2/2] userland: Bump to latest and add ASNEEDED = ""

Khem Raj raj.khem at gmail.com
Sun Nov 6 00:25:15 PDT 2016


ASNEEDED does not work with userland libraries as
noted in see
https://lists.yoctoproject.org/pipermail/yocto/2014-June/019933.html

Helps with running kodi using gles2

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../userland/0003-wayland-Add-Wayland-example.patch        | 14 +++++++-------
 recipes-graphics/userland/userland_git.bb                  |  4 +++-
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
index 49a7872..98f18c8 100644
--- a/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
+++ b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
@@ -1,4 +1,4 @@
-From 7f52662a4d1965988ee5ada28ce3525c38ebf164 Mon Sep 17 00:00:00 2001
+From 6ee44bd040bf8e8abf9c5a7be7f6ea4b82d5671a Mon Sep 17 00:00:00 2001
 From: Tomeu Vizoso <tomeu.vizoso at collabora.com>
 Date: Tue, 1 Oct 2013 13:19:20 +0200
 Subject: [PATCH 03/13] wayland: Add Wayland example
@@ -844,23 +844,23 @@ index 0000000..1a7bfc4
 +}
 +
 diff --git a/host_applications/linux/apps/hello_pi/rebuild.sh b/host_applications/linux/apps/hello_pi/rebuild.sh
-index fa4539e..37120ac 100755
+index 8225dd5..0be6ce7 100755
 --- a/host_applications/linux/apps/hello_pi/rebuild.sh
 +++ b/host_applications/linux/apps/hello_pi/rebuild.sh
-@@ -13,6 +13,7 @@ make -C hello_jpeg clean
- make -C hello_videocube clean
+@@ -14,6 +14,7 @@ make -C hello_videocube clean
  make -C hello_teapot clean
  make -C hello_fft clean
+ make -C hello_mmal_encode clean
 +make -C hello_wayland clean
  
  make -C libs/ilclient
  make -C libs/vgfont
-@@ -29,4 +30,4 @@ make -C hello_jpeg
- make -C hello_videocube
+@@ -31,4 +32,4 @@ make -C hello_videocube
  make -C hello_teapot
  make -C hello_fft
+ make -C hello_mmal_encode
 -
 +make -C hello_wayland
 -- 
-2.10.0
+2.10.2
 
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
index 7558851..84d6854 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -16,7 +16,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
 
 SRCBRANCH = "master"
 SRCFORK = "raspberrypi"
-SRCREV = "2852d9ff5a9038021f1c22d95e8a9e3aad09893f"
+SRCREV = "100f8bb3e74e29d04fb99857183cc34aaa712e3f"
 
 SRC_URI = "\
     git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
@@ -38,6 +38,8 @@ S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+ASNEEDED = ""
+
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed' \
                  -DVMCS_INSTALL_PREFIX=${exec_prefix} \
 "
-- 
2.10.2




More information about the yocto mailing list