summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-05-15 09:07:06 +0000
committerBernhard Reutner-Fischer2007-05-15 09:07:06 +0000
commit64332bf857b197f1dbf20f326a52be7dd0a6a80b (patch)
tree8d3a93a701618c95f2d8bec361663edc9ea54d49
parentd6050949b8e9f3573c43d6d8e2cdbe5fe1265e2b (diff)
downloadbusybox-64332bf857b197f1dbf20f326a52be7dd0a6a80b.zip
busybox-64332bf857b197f1dbf20f326a52be7dd0a6a80b.tar.gz
- busybox.c was removed a while ago
-rw-r--r--scripts/Makefile.IMA7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA
index a923731..ca8bc27 100644
--- a/scripts/Makefile.IMA
+++ b/scripts/Makefile.IMA
@@ -13,7 +13,7 @@ usage_stuff = include/usage_compressed.h
endif
# pull in the config stuff
-lib-all-y := applets/applets.o applets/busybox.o
+lib-all-y := applets/applets.o
lib-y:=
include procps/Kbuild
lib-all-y += $(patsubst %,procps/%,$(sort $(lib-y)))
@@ -118,14 +118,15 @@ CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
HOSTCC = gcc
CC = gcc
+STRIP = strip
WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,)
busybox: $(usage_stuff)
$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) --combine $(WHOLE_PROGRAM) \
-funit-at-a-time -Wno-error -std=gnu99 \
-o $(@)_unstripped $(lib-all-y:.o=.c) \
-Wl,--start-group -lcrypt -lm -Wl,--end-group
- cp $(@)_unstripped $@
- -strip -s -R .note -R .comment -R .version $@
+ cp -f $(@)_unstripped $@
+ -$(STRIP) -s -R .note -R .comment -R .version $@
applets/usage:
$(HOSTCC) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I$(srctree)/include -o applets/usage applets/usage.c