From: Florian Larysch Date: Thu, 3 Nov 2016 12:58:24 +0000 (+0100) Subject: kernel: fixup KARCH for powerpc64 builds X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f28b3bb56af4cb870f5b9b8a6e5bd0b3021de837;p=openwrt%2Fstaging%2Fluka.git 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 --- 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 ))