mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 12:41:58 +02:00
kpatch: Pass ARCH from environment
If not passed then it computes arch from `uname` and uname will be wrong on cross compiles when target != host Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -17,6 +17,7 @@ EXTRA_OEMAKE = " \
|
|||||||
SYSTEMDDIR=${D}${systemd_system_unitdir} \
|
SYSTEMDDIR=${D}${systemd_system_unitdir} \
|
||||||
UPSTARTDIR=${D}${sysconfdir}/init \
|
UPSTARTDIR=${D}${sysconfdir}/init \
|
||||||
DESTDIR=${D} \
|
DESTDIR=${D} \
|
||||||
|
ARCH=${TARGET_ARCH} \
|
||||||
BUILDMOD=no \
|
BUILDMOD=no \
|
||||||
CC='${CC}' \
|
CC='${CC}' \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user