summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-05-14 14:29:32 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-05-14 14:29:32 +0000
commitccbbd3b6fbc210e7ce02379d88cbfa47073a9ed1 (patch)
tree0222c23e4d6fb4e1839c458486226e802951c3a2 /mdk-stage1
parentfe3955bc093ba12a87e999ab56670bb7fb9752a5 (diff)
downloaddrakx-ccbbd3b6fbc210e7ce02379d88cbfa47073a9ed1.tar
drakx-ccbbd3b6fbc210e7ce02379d88cbfa47073a9ed1.tar.gz
drakx-ccbbd3b6fbc210e7ce02379d88cbfa47073a9ed1.tar.bz2
drakx-ccbbd3b6fbc210e7ce02379d88cbfa47073a9ed1.tar.xz
drakx-ccbbd3b6fbc210e7ce02379d88cbfa47073a9ed1.zip
build this new dietlibc
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/dietlibc/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/mdk-stage1/dietlibc/Makefile b/mdk-stage1/dietlibc/Makefile
index eb68a70f2..81ef7a2e6 100644
--- a/mdk-stage1/dietlibc/Makefile
+++ b/mdk-stage1/dietlibc/Makefile
@@ -2,7 +2,7 @@ ARCH=$(shell uname -m | sed 's/i[4-9]86/i386/')
OBJDIR=bin-$(ARCH)
-all: $(OBJDIR) $(OBJDIR)/start.o $(OBJDIR)/dietlibc.a $(OBJDIR)/liblatin1.a $(OBJDIR)/librpc.a $(OBJDIR)/elftrunc $(OBJDIR)/diet
+all: $(OBJDIR) $(OBJDIR)/start.o $(OBJDIR)/dietlibc.a $(OBJDIR)/liblatin1.a $(OBJDIR)/librpc.a $(OBJDIR)/diet
CFLAGS=-pipe
CROSS=
@@ -72,9 +72,6 @@ $(OBJDIR)/libdietc.so: $(OBJDIR)/dietlibc.a
$(SYSCALLOBJ): syscalls.h
-$(OBJDIR)/elftrunc: contrib/elftrunc.c $(OBJDIR)/start.o $(OBJDIR)/dietlibc.a
- $(CROSS)$(CC) -Iinclude $(CFLAGS) -nostdlib -o $@ $^ -lgcc
-
$(OBJDIR)/diet: diet.c $(OBJDIR)/start.o $(OBJDIR)/dietlibc.a
$(CROSS)$(CC) -Iinclude $(CFLAGS) -nostdlib -o $@ $^ -DDIETHOME=\"$(PWD)\"
$(CROSS)strip -R .comment -R .note $@
@@ -90,9 +87,8 @@ $(OBJDIR)/load:
chmod 755 $@
clean:
- rm -f *.o *.a t t1 compile load elftrunc exports mapfile libdietc.so
+ rm -f *.o *.a t t1 compile load exports mapfile libdietc.so
rm -rf bin-*
- $(MAKE) -C examples clean
tar: clean
rm -f armv4l
@@ -109,7 +105,7 @@ t:
t1:
$(CROSS)$(CC) -g -o t1 t.c
-install: $(OBJDIR)/start.o $(OBJDIR)/dietlibc.a $(OBJDIR)/liblatin1.a $(OBJDIR)/elftrunc $(OBJDIR)/diet
+install: $(OBJDIR)/start.o $(OBJDIR)/dietlibc.a $(OBJDIR)/liblatin1.a $(OBJDIR)/diet
cp $(OBJDIR)/start.o $(INSTALLPREFIX)$(prefix)/lib/dietstart.o
cp $(OBJDIR)/dietlibc.a $(INSTALLPREFIX)$(prefix)/lib/libdietc.a
cp $(OBJDIR)/liblatin1.a $(INSTALLPREFIX)$(prefix)/lib/libdietlatin1.a