From: Paul Mackerras Date: Sun, 15 Jan 2006 06:33:52 +0000 (+1100) Subject: powerpc: Make ARCH=powerpc the default for 32-bit ppc X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=820a8ce7931d18338e5c089725ec083518da1644;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git powerpc: Make ARCH=powerpc the default for 32-bit ppc This makes ARCH=powerpc the default on 32-bit powerpc machines, where uname -m returns ppc, as well as on 64-bit powerpc machines. Most people who would be likely to build their own kernels on 32-bit powerpc machines would be using powermacs or CHRP machines, both of which are supported with ARCH=powerpc now. Embedded ppc developers whose ports haven't been moved over to arch/powerpc yet will have to explicitly set ARCH=ppc now. Signed-off-by: Paul Mackerras --- diff --git a/Makefile b/Makefile index deedaf79cdc..673148e0760 100644 --- a/Makefile +++ b/Makefile @@ -151,7 +151,7 @@ export srctree objtree VPATH TOPDIR SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/s390x/s390/ -e s/parisc64/parisc/ \ - -e s/ppc64/powerpc/ ) + -e s/ppc.*/powerpc/ ) # Cross compiling and selecting different set of gcc/bin-utils # ---------------------------------------------------------------------------