mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 09:46:38 +01:00
Original we used absolute path in sysroot-destdir for both native and target recipes. This commit changes target recipes to use relative path which is same as the image directory. [sgw: merged with libtool sysroot work] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
16 lines
357 B
BlitzBasic
16 lines
357 B
BlitzBasic
require libtool-${PV}.inc
|
|
|
|
PR = "r1"
|
|
|
|
#
|
|
# We want the results of libtool-cross preserved - don't stage anything ourselves.
|
|
#
|
|
SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
|
|
|
|
libtool_sysroot_preprocess () {
|
|
rm -rf ${SYSROOT_DESTDIR}${bindir}/*
|
|
rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/*
|
|
rm -rf ${SYSROOT_DESTDIR}${datadir}/libtool/config/*
|
|
}
|
|
|