From 318e9aa82646aef7f4a43d8eba03b2b973fbb54b Mon Sep 17 00:00:00 2001 From: Jens Lucius Date: Wed, 23 Sep 2015 09:00:18 +0200 Subject: [PATCH] sunxi-mali: fix build errors with current master When trying to build sunxi-mali with current master there is a strip error introduced in a patch trying to strip the rootfs. Disable striping. Also fix an error where external recipes would not find the libaries. Signed-off-by: Jens Lucius --- recipes-graphics/libgles/sunxi-mali_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-graphics/libgles/sunxi-mali_git.bb b/recipes-graphics/libgles/sunxi-mali_git.bb index 17e76bd..068d4ad 100644 --- a/recipes-graphics/libgles/sunxi-mali_git.bb +++ b/recipes-graphics/libgles/sunxi-mali_git.bb @@ -9,6 +9,7 @@ COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)" # explicitly depends upon them. EXCLUDE_FROM_WORLD = "1" PROVIDES = "virtual/libgles1 virtual/libgles2 virtual/egl" +RPROVIDES_${PN} += "libGLESv2.so libEGL.so libGLESv2.so libGLESv1_CM.so libMali.so" inherit distro_features_check REQUIRED_DISTRO_FEATURES = "opengl" @@ -31,6 +32,7 @@ PACKAGECONFIG[x11] = "EGL_TYPE=x11,,virtual/libx11 libxau libxdmcp libdri2," # Inhibit warnings about files being stripped, we can't do anything about it. INHIBIT_PACKAGE_DEBUG_SPLIT = "1" INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" do_configure() { DESTDIR=${D}/ VERSION=r3p0 ABI=armhf ${EXTRA_OECONF} make config