diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-02-11 16:11:01 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-02-11 16:21:09 +0000 |
commit | 6e1cc7ca104b78ebb34a15eb4a41e33c7186d2fd (patch) | |
tree | 0f47b358ce2f5e26c43777c79409274eeb218a17 /meta/classes/native.bbclass | |
parent | a0795895e317fddb212dc531e2ac8943f433c562 (diff) | |
download | poky-6e1cc7ca104b78ebb34a15eb4a41e33c7186d2fd.tar.gz |
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 <josh@linux.intel.com>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
1 | # We want native packages to be relocatable | ||
2 | inherit relocatable | ||
3 | |||
1 | # Native packages are built indirectly via dependency, | 4 | # Native packages are built indirectly via dependency, |
2 | # no need for them to be a direct target of 'world' | 5 | # no need for them to be a direct target of 'world' |
3 | EXCLUDE_FROM_WORLD = "1" | 6 | EXCLUDE_FROM_WORLD = "1" |