summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-08-05 19:57:07 -0700
committerKhem Raj <raj.khem@gmail.com>2019-08-08 14:54:41 -0700
commit2e35a61e2a6d5a40a3b7abd6a540d161db6d46d2 (patch)
tree0064178119d669bd0b8dd0760ebddd79433bc1a1 /meta-oe/recipes-kernel
parent3468447d9695bd3383c9839fae59727c99cc5123 (diff)
downloadmeta-openembedded-2e35a61e2a6d5a40a3b7abd6a540d161db6d46d2.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-kernel')
-rw-r--r--meta-oe/recipes-kernel/kpatch/kpatch.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/kpatch/kpatch.inc b/meta-oe/recipes-kernel/kpatch/kpatch.inc
index ae753bd41..1f70f7205 100644
--- a/meta-oe/recipes-kernel/kpatch/kpatch.inc
+++ b/meta-oe/recipes-kernel/kpatch/kpatch.inc
@@ -17,6 +17,7 @@ EXTRA_OEMAKE = " \
17 SYSTEMDDIR=${D}${systemd_system_unitdir} \ 17 SYSTEMDDIR=${D}${systemd_system_unitdir} \
18 UPSTARTDIR=${D}${sysconfdir}/init \ 18 UPSTARTDIR=${D}${sysconfdir}/init \
19 DESTDIR=${D} \ 19 DESTDIR=${D} \
20 ARCH=${TARGET_ARCH} \
20 BUILDMOD=no \ 21 BUILDMOD=no \
21 CC='${CC}' \ 22 CC='${CC}' \
22 " 23 "