mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
cross.bbclass: Move sysroot_stage_all function to the only place that uses it now (gcc-cross-intermediate)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
70301cc433
commit
82745e4f32
@@ -62,16 +62,3 @@ do_install () {
|
|||||||
oe_runmake 'DESTDIR=${D}' install
|
oe_runmake 'DESTDIR=${D}' install
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# Override the default sysroot staging copy since this won't look like a target system
|
|
||||||
#
|
|
||||||
sysroot_stage_all() {
|
|
||||||
sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
|
|
||||||
install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/
|
|
||||||
install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/
|
|
||||||
mv ${SYSROOT_DESTDIR}${target_base_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/ || true
|
|
||||||
mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -45,3 +45,15 @@ do_install () {
|
|||||||
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
|
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Override the default sysroot staging copy since this won't look like a target system
|
||||||
|
#
|
||||||
|
sysroot_stage_all() {
|
||||||
|
sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
|
||||||
|
install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/
|
||||||
|
install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/
|
||||||
|
mv ${SYSROOT_DESTDIR}${target_base_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/ || true
|
||||||
|
mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user