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/cross.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'classes/cross.bbclass') diff --git a/classes/cross.bbclass b/classes/cross.bbclass index 6037d692b5..57b6e6057f 100644 --- a/classes/cross.bbclass +++ b/classes/cross.bbclass @@ -1,3 +1,6 @@ +# Disabled for now since the relocation paths are too long +#inherit relocatable + # Cross 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