]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: Inhibit sysroot stripping
authorTom Hochstein <tom.hochstein@nxp.com>
Tue, 10 Aug 2021 20:19:23 +0000 (15:19 -0500)
committerDaiane Angolini <daiane.angolini@foundries.io>
Sat, 11 Sep 2021 16:35:14 +0000 (13:35 -0300)
The binaries are already stripped, so inhibit sysroot stripping.
Fixes multiple warning messages like:

WARNING: imx-gpu-viv-1_6.4.3.p2.0-aarch64-r0 do_populate_sysroot: File '/usr/lib/libGLES_CL.so.1.1.0' from imx-gpu-viv was already stripped, this will prevent future debugging!

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc

index 495d6ed1a024a8a42c41c0bd347994aa8a079f6a..d58ce4e89cd8084b22f967fe2f1b2feecb927ee1 100644 (file)
@@ -99,10 +99,11 @@ python __anonymous () {
 USE_X11 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "yes", "no", d)}"
 USE_WL = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
 
-# Inhibit warnings about files being stripped.
-INHIBIT_PACKAGE_STRIP = "1"
+# The packaged binaries have been stripped of debug info, so disable
+# operations accordingly.
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INSANE_SKIP_${BPN} += "already-stripped"
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
 
 # FIXME: The provided binary doesn't provide soname. If in future BSP
 # release the libraries are fixed, we can drop this hack.