[oe-commits] [meta-openembedded] 04/07: kpatch: Pass ARCH from environment

git at git.openembedded.org git at git.openembedded.org
Tue Aug 6 19:07:39 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 74ab009722303383355a177349d3915862ec6d52
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Aug 5 19:57:07 2019 -0700

    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 at gmail.com>
---
 meta-oe/recipes-kernel/kpatch/kpatch.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-kernel/kpatch/kpatch.inc b/meta-oe/recipes-kernel/kpatch/kpatch.inc
index cd819f3..e6c4f64 100644
--- a/meta-oe/recipes-kernel/kpatch/kpatch.inc
+++ b/meta-oe/recipes-kernel/kpatch/kpatch.inc
@@ -16,6 +16,7 @@ EXTRA_OEMAKE = " \
 	MANDIR=${D}${mandir}/man1 \
 	SYSTEMDDIR=${D}${systemd_system_unitdir} \
 	DESTDIR=${D} \
+	ARCH=${TARGET_ARCH} \
 	BUILDMOD=no \
 	CC='${CC}' \
 	"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list