From d1a8b276c0f7c2838816071bca797bb56fcccef7 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 31 Mar 2010 11:41:58 +0100 Subject: relocatable: Class to post-process packages for relocatability This class helps make packages relocatable by post-processing the binaries and using chrpath to set the RPATH relative to $ORIGIN. Patch also enables this post-processing for native packages and adds chrpath to the required utilties. Based on ideas from a patch from Tom Rini Signed-off-by: Joshua Lock --- classes/native.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'classes/native.bbclass') diff --git a/classes/native.bbclass b/classes/native.bbclass index 6698b61cfc..0381e83fc7 100644 --- a/classes/native.bbclass +++ b/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 1.2.3-korg