Mimic the approach used in openjdk-8-cross.inc and add INSANE_SKIP for
"already-skipped" to avoid the following warning:

    WARNING: openjdk-8-native-252-r0 do_populate_sysroot: File '.. snip .. 
/build/tmp/work/x86_64-linux/openjdk-8-native/252-r0/recipe-sysroot-native/usr/lib/jvm/openjdk-8-native/jre/lib/amd64/libfreetype.so.6'
 from openjdk-8-native was already stripped, this will prevent future debugging!

Signed-off-by: Jonatan Pålsson <[email protected]>
---
 recipes-core/openjdk/openjdk-8-native.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-core/openjdk/openjdk-8-native.inc 
b/recipes-core/openjdk/openjdk-8-native.inc
index 24b6f20..92d9473 100644
--- a/recipes-core/openjdk/openjdk-8-native.inc
+++ b/recipes-core/openjdk/openjdk-8-native.inc
@@ -88,3 +88,6 @@ do_install() {
         ln -sf "../lib/jvm/${JDK_DIR}/bin/$tool" ${D}${bindir}/$tool
     done
 }
+
+# FIXME libfreetype.so.6 is copied from STAGING_LIBDIR which is already 
stripped
+INSANE_SKIP_${PN} = "already-stripped"
-- 
2.26.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86488): 
https://lists.openembedded.org/g/openembedded-devel/message/86488
Mute This Topic: https://lists.openembedded.org/mt/76325146/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to