diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-17 16:13:40 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-17 16:13:40 +0000 |
commit | 346ed7a09da10ef475d93d0270d1a3aa1db34774 (patch) | |
tree | 93ef2dc73e8d3c8fa6456af95be9e7c04239a573 /mdk-stage1/insmod-busybox | |
parent | 8e49c304e81ce934efcca4f301c0bcf72a4acca9 (diff) | |
download | drakx-backup-do-not-use-346ed7a09da10ef475d93d0270d1a3aa1db34774.tar drakx-backup-do-not-use-346ed7a09da10ef475d93d0270d1a3aa1db34774.tar.gz drakx-backup-do-not-use-346ed7a09da10ef475d93d0270d1a3aa1db34774.tar.bz2 drakx-backup-do-not-use-346ed7a09da10ef475d93d0270d1a3aa1db34774.tar.xz drakx-backup-do-not-use-346ed7a09da10ef475d93d0270d1a3aa1db34774.zip |
also build standalone insmod-DIET for testing purposes..
Diffstat (limited to 'mdk-stage1/insmod-busybox')
-rw-r--r-- | mdk-stage1/insmod-busybox/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mdk-stage1/insmod-busybox/Makefile b/mdk-stage1/insmod-busybox/Makefile index ca05279e9..9c0a60b79 100644 --- a/mdk-stage1/insmod-busybox/Makefile +++ b/mdk-stage1/insmod-busybox/Makefile @@ -13,7 +13,7 @@ top_dir = .. include $(top_dir)/Makefile.common -all: insmod libinsmod.a libinsmod-DIET.a +all: insmod insmod-DIET libinsmod.a libinsmod-DIET.a clean: rm -f *.o insmod libinsmod.a libinsmod-DIET.a @@ -26,6 +26,11 @@ insmod: insmod-frontend.o insmod.o utility-standalone.o gcc -o $@ $^ $(STRIPCMD) $@ +insmod-DIET: insmod-frontend-DIET.o insmod-DIET.o utility-standalone-DIET.o + gcc $(DIETLIBC_LDFLAGS_STAGE1) -o $@ $^ $(DIETLIBC_LIBC) + $(STRIPCMD) $@ + + libinsmod.a: insmod.o utility.o ar cru $@ $^ ranlib $@ @@ -37,6 +42,9 @@ libinsmod-DIET.a: insmod-DIET.o utility-DIET.o insmod-frontend.o: insmod-frontend.c busybox.h gcc $(FLAGS) $(GLIBC_INCLUDES) insmod-frontend.c +insmod-frontend-DIET.o: insmod-frontend.c busybox.h + gcc $(FLAGS) $(DIETLIBC_INCLUDES) -o $@ insmod-frontend.c + utility.o: utility.c busybox.h gcc $(FLAGS) $(GLIBC_INCLUDES) utility.c @@ -46,6 +54,9 @@ utility-DIET.o: utility.c busybox.h utility-standalone.o: utility.c busybox.h gcc $(FLAGS) $(GLIBC_INCLUDES) -o $@ -D_STANDALONE_ utility.c +utility-standalone-DIET.o: utility.c busybox.h + gcc $(FLAGS) $(DIETLIBC_INCLUDES) -o $@ -D_STANDALONE_ utility.c + insmod.o: insmod.c busybox.h gcc $(FLAGS) $(GLIBC_INCLUDES) insmod.c |