diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-03-04 04:26:44 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:39:48 -0700 |
commit | e5f053b5312a0f8d62a2bcff8ddb095052d228bc (patch) | |
tree | 54fa17afcdb1c8919710da70f55e267d2a758e8e /klibc/MCONFIG | |
parent | 6d7a6d08c2386611e4ccb62ce660ceb53b1bf79f (diff) |
[PATCH] klibc: update v0.205
Diffstat (limited to 'klibc/MCONFIG')
-rw-r--r-- | klibc/MCONFIG | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/klibc/MCONFIG b/klibc/MCONFIG index 3fae2898c6..a7b2cb1bf3 100644 --- a/klibc/MCONFIG +++ b/klibc/MCONFIG @@ -3,6 +3,17 @@ # Makefile configuration, without explicit rules # +# Location for installation +prefix = /usr +bindir = $(prefix)/bin +libdir = $(prefix)/lib +mandir = $(prefix)/man +INSTALLDIR = $(prefix)/lib/klibc +INSTALLROOT = + +INSTALL_EXEC = install -m 755 +INSTALL_DATA = install -m 644 + # Eventually support separate compilation, but we don't have it yet... OBJROOT = $(SRCROOT) @@ -20,17 +31,19 @@ INCLUDE = -I$(SRCROOT)/include/arch/$(ARCH) \ -I$(SRCROOT)/include/bits$(BITSIZE) \ -I$(SRCROOT)/include \ -I$(KRNLOBJ)/include -I$(KRNLOBJ)/include2 -I$(KRNLSRC)/include -REQFLAGS = $(ARCHREQFLAGS) -nostdinc -iwithprefix include \ - -D__KLIBC__ -DBITSIZE=$(BITSIZE) \ - $(INCLUDE) +REQFLAGS = $(ARCHREQFLAGS) -nostdinc -iwithprefix include -D__KLIBC__ \ + $(INCLUDE) LDFLAGS = AR = $(CROSS)ar RANLIB = $(CROSS)ranlib NM = $(CROSS)nm PERL = perl -STRIP = $(CROSS)strip --strip-all -R .comment -R .note OBJCOPY = $(CROSS)objcopy +STRIP = $(CROSS)strip +STRIPFLAGS = --strip-all -R .comment -R .note +STRIPCMD = $(STRIP) $(STRIPFLAGS) + HOST_CC = gcc HOST_CFLAGS = -g -O HOST_LDFLAGS = @@ -57,6 +70,9 @@ SHLIBDIR = /lib # about 4K bigger. ERRLIST = 1 +# Include zlib in klibc. This roughly triples the size of klibc! +ZLIB = 0 + # # Include arch-specific rule fragments # |