mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01: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
@@ -20,8 +20,9 @@ siteconfig_do_siteconfig_gencache () {
|
||||
sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \
|
||||
-e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \
|
||||
< ${PN}_cache > ${PN}_config
|
||||
mkdir -p ${SYSROOT_DESTDIR}${SITECONFIG_SYSROOTCACHE}
|
||||
cp ${PN}_config ${SYSROOT_DESTDIR}${SITECONFIG_SYSROOTCACHE}
|
||||
mkdir -p ${SYSROOT_DESTDIR}${datadir}/${TARGET_SYS}_config_site.d
|
||||
cp ${PN}_config ${SYSROOT_DESTDIR}${datadir}/${TARGET_SYS}_config_site.d
|
||||
|
||||
}
|
||||
|
||||
do_populate_sysroot[sstate-interceptfuncs] += "do_siteconfig "
|
||||
|
||||
Reference in New Issue
Block a user