From f28b3bb56af4cb870f5b9b8a6e5bd0b3021de837 Mon Sep 17 00:00:00 2001 From: Florian Larysch Date: Thu, 3 Nov 2016 13:58:24 +0100 Subject: [PATCH] kernel: fixup KARCH for powerpc64 builds The kernel calls both ppc64 and ppc32 "powerpc", so we need to fixup LINUX_KARCH when building with ARCH=powerpc64. Signed-off-by: Florian Larysch --- include/kernel.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/kernel.mk b/include/kernel.mk index 7674f0dadc..a84c755a06 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -85,6 +85,8 @@ else ifneq (,$(findstring $(ARCH) , armeb )) LINUX_KARCH := arm else ifneq (,$(findstring $(ARCH) , mipsel mips64 mips64el )) LINUX_KARCH := mips +else ifneq (,$(findstring $(ARCH) , powerpc64 )) + LINUX_KARCH := powerpc else ifneq (,$(findstring $(ARCH) , sh2 sh3 sh4 )) LINUX_KARCH := sh else ifneq (,$(findstring $(ARCH) , i386 x86_64 )) -- 2.30.2