[PATCH] ARCH detection for ppc

I'm not sure why ppc is converted to powerpc, it breaks at least $(ARCH)
in klibc.

gcc -dumpmachine
powerpc-suse-linux
This commit is contained in:
olh@suse.de 2003-12-02 00:44:48 -08:00 committed by Greg KH
parent c076a2bde4
commit bfd8a5d0f7
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ export CROSS CC AR STRIP RANLIB
# code taken from uClibc to determine the current arch
ARCH := ${shell $(CC) -dumpmachine | sed -e s'/-.*//' -e 's/i.86/i386/' -e 's/sparc.*/sparc/' \
-e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/g'}
-e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/powerpc/ppc/g'}
# code taken from uClibc to determine the gcc include dir
GCCINCDIR := ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}