diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/classes/relocatable.bbclass | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/relocatable.bbclass')
-rw-r--r-- | meta/classes/relocatable.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass new file mode 100644 index 0000000000..4ca9981f44 --- /dev/null +++ b/meta/classes/relocatable.bbclass | |||
@@ -0,0 +1,7 @@ | |||
1 | inherit chrpath | ||
2 | |||
3 | SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess" | ||
4 | |||
5 | python relocatable_binaries_preprocess() { | ||
6 | rpath_replace(d.expand('${SYSROOT_DESTDIR}'), d) | ||
7 | } | ||