[oe-commits] [meta-openembedded] 24/26: kpatch: Pass ARCH from environment

git at git.openembedded.org git at git.openembedded.org
Thu Aug 8 21:55:28 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 2e35a61e2a6d5a40a3b7abd6a540d161db6d46d2
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 ae753bd..1f70f72 100644
--- a/meta-oe/recipes-kernel/kpatch/kpatch.inc
+++ b/meta-oe/recipes-kernel/kpatch/kpatch.inc
@@ -17,6 +17,7 @@ EXTRA_OEMAKE = " \
 	SYSTEMDDIR=${D}${systemd_system_unitdir} \
 	UPSTARTDIR=${D}${sysconfdir}/init \
 	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