- remove explicit dependency of busybox.o and applets.o and usage.h from the
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 5 Oct 2005 14:52:21 +0000 (14:52 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 5 Oct 2005 14:52:21 +0000 (14:52 -0000)
  Makefile. Instead fix the invocation of bb_mkdep.

Makefile
applets/Makefile.in

index bd8e47c6d000fad67893e40b7e5c065f4b505625..4f052ff1f846ad8fd340418c1d64e7421dad6c6e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -275,7 +275,7 @@ depend dep $(top_builddir)/.depend: .depend
 .depend: scripts/bb_mkdep $(DEP_INCLUDES)
        @rm -f .depend
        @mkdir -p include/config
-       scripts/bb_mkdep -c include/config.h -c include/bb_config.h $(top_srcdir)/ > $@.tmp
+       scripts/bb_mkdep -c include/config.h -c include/bb_config.h -I $(top_srcdir)/include $(top_srcdir)/ > $@.tmp
        mv $@.tmp $@
 
 include/config.h: .config
index ddbc668dc457b870ecfa416ad6bd995b83d43078..511652a93d2b8790873258ce42b6ca6f2ec93e84 100644 (file)
@@ -18,7 +18,7 @@ libraries-y+=$(APPLETS_DIR)$(APPLETS_AR)
 $(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ)
        $(AR) $(ARFLAGS) $@ $(APPLET_OBJ)
 
-$(APPLET_OBJ): $(top_builddir)/.config $(top_srcdir)/include/usage.h
+$(APPLET_OBJ): $(top_builddir)/.config 
 $(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c
        $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<