476ced15c2
Most of the code in relocatable.bbclass will be used for relocating the SDK binaries. So, create another class chrpath.bbclass that will contain the core of the relocatable.bbclass, so we can reuse it. (From OE-Core rev: b50677b1641b201fd69942fd82a360907338234d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 lines
178 B
Text
8 lines
178 B
Text
inherit chrpath
|
|
|
|
SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess"
|
|
|
|
python relocatable_binaries_preprocess() {
|
|
rpath_replace(d.expand('${SYSROOT_DESTDIR}'), d)
|
|
}
|