[klibc] Patch to support parisc

Russell King rmk+klibc at arm.linux.org.uk
Sat Jun 18 00:58:43 PDT 2005


On Fri, Jun 17, 2005 at 09:21:04PM -0400, Jeff Bailey wrote:
> This patch allows klibc to build on parisc64 platforms.
> 
> $ diff -u MCONFIG.old MCONFIG
> --- MCONFIG.old 2005-06-18 01:16:12.000000000 +0000
> +++ MCONFIG     2005-06-18 01:18:51.000000000 +0000
> @@ -33,7 +33,7 @@
>  KLIBCVER = -D__KLIBC__=$(shell cut -d. -f1 < $(SRCROOT)/version) \
>            -D__KLIBC_MINOR__=$(shell cut -d. -f2 < $(SRCROOT)/version)
> 
> -ARCH    = $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e
> s/arm.*/arm/ -e s/sa110/arm/)
> +ARCH    = $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e
> s/arm.*/arm/ -e s/sa110/arm/ -e s/parisc*/parisc/)

So parisc uname -m output can be parisc, pariscc, parisccc, pariscccc etc?

Shouldn't this be s/parisc.*/parisc/ ?

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core



More information about the klibc mailing list