Magellan Linux

Diff of /trunk/mkinitrd-magellan/klibc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 532 by niro, Sat Sep 1 22:45:15 2007 UTC revision 815 by niro, Fri Apr 24 18:32:46 2009 UTC
# Line 24  export OBJDUMP  := $(KLIBCROSS)objdump Line 24  export OBJDUMP  := $(KLIBCROSS)objdump
24    
25  NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include)  NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include)
26    
27  ARCH          := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)  ARCH          := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/sh4/sh/)
28  export KLIBCARCH  ?= $(ARCH)  export KLIBCARCH  ?= $(ARCH)
29  export KLIBCARCHDIR := $(shell echo $(KLIBCARCH) | sed -e s/s390x/s390/)  export KLIBCARCHDIR := $(shell echo $(KLIBCARCH) | sed -e s/s390x/s390/)
30    
# Line 89  all: klcc klibc Line 89  all: klcc klibc
89   @false   @false
90    
91  linux:  linux:
92   ln -snf /lib/modules/$(shell uname -r)/build linux   @echo "The 'linux' symlink is missing; it should point to a kernel tree "
93     @echo "configured for the $(KLIBCARCH) architecture."
94     @false
95    
96  rpmbuild = $(shell which rpmbuild 2>/dev/null || which rpm)  rpmbuild = $(shell which rpmbuild 2>/dev/null || which rpm)
97    

Legend:
Removed from v.532  
changed lines
  Added in v.815