diff options
author | greg@kroah.com <greg@kroah.com> | 2003-10-22 18:37:40 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:05:23 -0700 |
commit | a41a0e28c2ba0abf99b5e7ea17645ae0e4f05758 (patch) | |
tree | f800d7d565c294adb15f88d4f14064f93054da70 /klibc/MCONFIG | |
parent | 6c0eae77a1443c51a0c089f4d4053ffff13666f5 (diff) |
[PATCH] added klibc version 0.82 (cvs tree) to the udev tree.
Not hooked up to the build yet.
Diffstat (limited to 'klibc/MCONFIG')
-rw-r--r-- | klibc/MCONFIG | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/klibc/MCONFIG b/klibc/MCONFIG new file mode 100644 index 0000000000..ed7755b382 --- /dev/null +++ b/klibc/MCONFIG @@ -0,0 +1,41 @@ +# -*- makefile -*- +# +# Makefile configuration, without explicit rules +# + +ARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/) +CROSS = +CC = $(CROSS)gcc +LD = $(CROSS)ld +KLIBSRC = $(SRCROOT)/klibc +REQFLAGS = $(ARCHREQFLAGS) -nostdinc -iwithprefix include -I$(KLIBSRC) \ + -I$(KLIBSRC)/arch/$(ARCH)/include \ + -I$(KLIBSRC)/include/bits$(BITSIZE) \ + -D__KLIBC__ -DBITSIZE=$(BITSIZE) -I$(KLIBSRC)/include \ + -I$(SRCROOT)/linux/include +LDFLAGS = +AR = $(CROSS)ar +RANLIB = $(CROSS)ranlib +NM = $(CROSS)nm +PERL = perl +STRIP = $(CROSS)strip --strip-all -R .comment -R .note + +HOST_CC = gcc +HOST_LDFLAGS = -s +HOST_LIBS = + +CRT0 = $(KLIBSRC)/crt0.o +KLIBC = $(KLIBSRC)/libc.a +LIBGCC = $(shell $(CC) --print-libgcc) + +# +# This indicates the location of the final version of the shared library. +# THIS MUST BE AN ABSOLUTE PATH WITH NO FINAL SLASH. +# Leave this empty to make it the root. +# +SHLIBDIR = /lib + +# +# Include arch-specific rule fragments +# +include $(KLIBSRC)/arch/$(ARCH)/MCONFIG |