[klibc] Patch to support parisc

Jeff Bailey jbailey at ubuntu.com
Fri Jun 17 18:21:04 PDT 2005


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/)
 CC     = $(CROSS)gcc
 LD      = $(CROSS)ld
 KLIBSRC = $(SRCROOT)/klibc




More information about the klibc mailing list