mirror of
https://git.yoctoproject.org/poky
synced 2026-07-15 15:37:03 +00:00
staging: Use relative path in sysroot-destdir for target recipes
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>
This commit is contained in:
committed by
Richard Purdie
parent
b1025bd538
commit
bc9d2fbfd4
@@ -8,8 +8,8 @@ PR = "r1"
|
||||
SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
|
||||
|
||||
libtool_sysroot_preprocess () {
|
||||
rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${bindir}/*
|
||||
rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/aclocal/*
|
||||
rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/libtool/config/*
|
||||
rm -rf ${SYSROOT_DESTDIR}${bindir}/*
|
||||
rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/*
|
||||
rm -rf ${SYSROOT_DESTDIR}${datadir}/libtool/config/*
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user