From 6e1cc7ca104b78ebb34a15eb4a41e33c7186d2fd Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 11 Feb 2010 16:11:01 +0000 Subject: relocatable.bbclass: remove hard-coded rpaths from native binaries The relocatable path will pre-process built binaries in SYSROOT_DESTDIR and replace any harcoded dynamic link rpaths with relative paths. Add an inherit of class in native.bbclass to make our native packages relocatable and tweak the chrpath recipe so that the native package can make itself relocatable with the just built chrpath binary. Signed-off-by: Joshua Lock --- meta/classes/native.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/classes/native.bbclass') diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 01f886294e..9d678fd802 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -1,3 +1,6 @@ +# We want native packages to be relocatable +inherit relocatable + # Native packages are built indirectly via dependency, # no need for them to be a direct target of 'world' EXCLUDE_FROM_WORLD = "1" -- cgit v1.2.3-54-g00ecf