- make sure applets.o is rebuilt when the .config changes.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 2 Mar 2006 18:13:05 +0000 (18:13 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 2 Mar 2006 18:13:05 +0000 (18:13 -0000)
- don't overwrite objects in the archive. Affected applets with name-clash
  mostly vs. libbb:
iplink_main
iproute_main
iptunnel_main
login_main
run_parts_main

Makefile
Rules.mak

index ccd486f..93b598c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -271,7 +271,7 @@ ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
 # individual object files
 -include $(top_builddir)/.depend
 
-
+$(top_builddir)/applets/applets.o: $(top_builddir)/.config
 # Everything is set.
 
 all: busybox busybox.links doc ;
index 60812a5..32ca312 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -94,7 +94,7 @@ CFLAGS_EXTRA=$(subst ",, $(strip $(EXTRA_CFLAGS_OPTIONS)))
 WARNINGS=-Wall -Wstrict-prototypes -Wshadow
 CFLAGS+=-I$(top_builddir)/include -I$(top_srcdir)/include
 
-ARFLAGS=cru
+ARFLAGS=cruP