mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00: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