mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-07 03:29:59 +00:00
kernel-selftest: Specify the target with -target instead of -arch
This ensures that generated code is properly cross compiled Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ EXTRA_OEMAKE = '\
|
|||||||
CROSS_COMPILE=${TARGET_PREFIX} \
|
CROSS_COMPILE=${TARGET_PREFIX} \
|
||||||
ARCH=${ARCH} \
|
ARCH=${ARCH} \
|
||||||
CC="${CC}" \
|
CC="${CC}" \
|
||||||
CLANG="clang -fno-stack-protector -arch ${ARCH} ${TOOLCHAIN_OPTIONS}" \
|
CLANG="clang -fno-stack-protector -target ${TARGET_ARCH} ${TOOLCHAIN_OPTIONS}" \
|
||||||
AR="${AR}" \
|
AR="${AR}" \
|
||||||
LD="${LD}" \
|
LD="${LD}" \
|
||||||
DESTDIR="${D}" \
|
DESTDIR="${D}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user