rust-cross: fix build where TARGET_ARCH and HOST_ARCH are the same
By copying exactly the target we intend to. Fixes #77
This commit is contained in:
@@ -40,7 +40,7 @@ do_compile () {
|
|||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
mkdir -p ${D}${prefix}/${base_libdir_native}/rustlib
|
mkdir -p ${D}${prefix}/${base_libdir_native}/rustlib
|
||||||
cp ${WORKDIR}/targets/${TARGET_ARCH}* ${D}${prefix}/${base_libdir_native}/rustlib
|
cp ${WORKDIR}/targets/${TARGET_SYS}.json ${D}${prefix}/${base_libdir_native}/rustlib
|
||||||
}
|
}
|
||||||
|
|
||||||
rust_cross_sysroot_preprocess() {
|
rust_cross_sysroot_preprocess() {
|
||||||
|
|||||||
Reference in New Issue
Block a user