From: Bernhard Reutner-Fischer Date: Thu, 2 Mar 2006 18:13:05 +0000 (-0000) Subject: - make sure applets.o is rebuilt when the .config changes. X-Git-Tag: 1_1_0~124 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c8e278f54ba7ec0d2f5626eef15057b684d7a2df;p=oweals%2Fbusybox.git - make sure applets.o is rebuilt when the .config changes. - 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 --- diff --git a/Makefile b/Makefile index ccd486fba..93b598c1a 100644 --- 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 ; diff --git a/Rules.mak b/Rules.mak index 60812a57e..32ca312b9 100644 --- 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