svn commit: trunk/busybox/scripts

aldot at busybox.net aldot at busybox.net
Tue May 15 02:07:07 PDT 2007


Author: aldot
Date: 2007-05-15 02:07:06 -0700 (Tue, 15 May 2007)
New Revision: 18617

Log:
- busybox.c was removed a while ago


Modified:
   trunk/busybox/scripts/Makefile.IMA


Changeset:
Modified: trunk/busybox/scripts/Makefile.IMA
===================================================================
--- trunk/busybox/scripts/Makefile.IMA	2007-05-15 00:37:02 UTC (rev 18616)
+++ trunk/busybox/scripts/Makefile.IMA	2007-05-15 09:07:06 UTC (rev 18617)
@@ -13,7 +13,7 @@
 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 @@
 
 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



More information about the busybox-cvs mailing list