summaryrefslogtreecommitdiffstats
path: root/classes/sanity.bbclass
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-03-31 11:41:58 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-05 15:05:36 +0100
commitd1a8b276c0f7c2838816071bca797bb56fcccef7 (patch)
treea1a12202a097981e0bc58e9e63163903c920ef9e /classes/sanity.bbclass
parent3440328ac1ccbd5ca6aeea4a4b6084ecafd6fdda (diff)
downloadopenembedded-d1a8b276c0f7c2838816071bca797bb56fcccef7.tar.gz
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 <tom_rini@mentor.com> Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'classes/sanity.bbclass')
-rw-r--r--classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 2e9151f540..0a1e8683cf 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -83,7 +83,7 @@ def check_sanity(e):
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (${BUILD_PREFIX}g++),"
- required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum"
+ required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
# If we'll be running qemu, perform some sanity checks
if data.getVar('ENABLE_BINARY_LOCALE_GENERATION', e.data, True):