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 <fl@n621.de>
This commit is contained in:
parent
7ea6261b43
commit
f28b3bb56a
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ else ifneq (,$(findstring $(ARCH) , armeb ))
|
||||||
LINUX_KARCH := arm
|
LINUX_KARCH := arm
|
||||||
else ifneq (,$(findstring $(ARCH) , mipsel mips64 mips64el ))
|
else ifneq (,$(findstring $(ARCH) , mipsel mips64 mips64el ))
|
||||||
LINUX_KARCH := mips
|
LINUX_KARCH := mips
|
||||||
|
else ifneq (,$(findstring $(ARCH) , powerpc64 ))
|
||||||
|
LINUX_KARCH := powerpc
|
||||||
else ifneq (,$(findstring $(ARCH) , sh2 sh3 sh4 ))
|
else ifneq (,$(findstring $(ARCH) , sh2 sh3 sh4 ))
|
||||||
LINUX_KARCH := sh
|
LINUX_KARCH := sh
|
||||||
else ifneq (,$(findstring $(ARCH) , i386 x86_64 ))
|
else ifneq (,$(findstring $(ARCH) , i386 x86_64 ))
|
||||||
|
|
Loading…
Reference in a new issue