]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc: Make ARCH=powerpc the default for 32-bit ppc
authorPaul Mackerras <paulus@samba.org>
Sun, 15 Jan 2006 06:33:52 +0000 (17:33 +1100)
committerPaul Mackerras <paulus@samba.org>
Sun, 15 Jan 2006 06:33:52 +0000 (17:33 +1100)
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 <paulus@samba.org>
Makefile

index deedaf79cdca2325936f63b511b3744163587bd6..673148e07603778eae148651d432cb6351cac96f 100644 (file)
--- 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
 # ---------------------------------------------------------------------------