summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-04-16 16:26:22 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-04-16 16:26:22 +0000
commitc94413ea495068078bc8d58ea14ce7ef8e65cc7c (patch)
treed4917df6261603d07a5c1389d98bd8ec9edbf398
parentee86e2af8ce8c8362095d902efc8bf4ee9a9c6b9 (diff)
downloaddrakx-c94413ea495068078bc8d58ea14ce7ef8e65cc7c.tar
drakx-c94413ea495068078bc8d58ea14ce7ef8e65cc7c.tar.gz
drakx-c94413ea495068078bc8d58ea14ce7ef8e65cc7c.tar.bz2
drakx-c94413ea495068078bc8d58ea14ce7ef8e65cc7c.tar.xz
drakx-c94413ea495068078bc8d58ea14ce7ef8e65cc7c.zip
Use $(DIET) wrapper
-rw-r--r--mdk-stage1/insmod-busybox/Makefile38
1 files changed, 8 insertions, 30 deletions
diff --git a/mdk-stage1/insmod-busybox/Makefile b/mdk-stage1/insmod-busybox/Makefile
index c8649ae0d..236874f96 100644
--- a/mdk-stage1/insmod-busybox/Makefile
+++ b/mdk-stage1/insmod-busybox/Makefile
@@ -13,53 +13,31 @@ top_dir = ..
include $(top_dir)/Makefile.common
-all: insmod insmod-DIET libinsmod.a libinsmod-DIET.a
+all: insmod libinsmod.a
clean:
- rm -f *.o insmod insmod-DIET libinsmod.a libinsmod-DIET.a
+ rm -f *.o insmod libinsmod.a
-FLAGS = -c -Wall -Os -fomit-frame-pointer -D_GNU_SOURCE -DBB_VER='"0.47"' -DBB_BT='"2000.12.06-14:02+0000"'
+FLAGS = -c -Wall -Os -fomit-frame-pointer -D_GNU_SOURCE -DBB_VER='"0.60.5"' -DBB_BT='"2003.04.16-15:25+0000"'
insmod: insmod-frontend.o insmod.o utility-standalone.o
- gcc -o $@ $^
+ $(DIET) 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 $@
-libinsmod-DIET.a: insmod-DIET.o utility-DIET.o
- ar cru $@ $^
- ranlib $@
-
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
+ $(DIET) gcc $(FLAGS) $(INCLUDES) insmod-frontend.c
utility.o: utility.c busybox.h
- gcc $(FLAGS) $(GLIBC_INCLUDES) utility.c
-
-utility-DIET.o: utility.c busybox.h
- gcc $(FLAGS) $(DIETLIBC_INCLUDES) -o $@ utility.c
+ $(DIET) gcc $(FLAGS) $(INCLUDES) utility.c
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
+ $(DIET) gcc $(FLAGS) $(INCLUDES) -o $@ -D_STANDALONE_ utility.c
insmod.o: insmod.c busybox.h
- gcc $(FLAGS) $(GLIBC_INCLUDES) insmod.c
-
-insmod-DIET.o: insmod.c busybox.h
- gcc $(FLAGS) $(DIETLIBC_INCLUDES) -o $@ insmod.c
-
+ $(DIET) gcc $(FLAGS) $(INCLUDES) insmod.c