summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-19 22:11:06 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-19 22:11:06 +0000
commit52b5eba715b29ed3e52eaa95a51307cacb4d7677 (patch)
treeadc8031e14bb56832b6d7634b4c9299946530471
parentfdc101782af8151726a3ba08a83f5bd948c96feb (diff)
applets/applets.o must be rebuilt if usage.h is modified.
-rw-r--r--Makefile3
-rw-r--r--applets/Kbuild9
2 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 41b2ea103..10392a056 100644
--- a/Makefile
+++ b/Makefile
@@ -806,9 +806,6 @@ include/config/MARKER: scripts/basic/split-include include/autoconf.h
@scripts/basic/split-include include/autoconf.h include/config
@echo ' GEN include/bbconfigopts.h'
@$(srctree)/scripts/mkconfigs >include/bbconfigopts.h
- @$(MAKE) $(build)=scripts
- @echo ' GEN include/usage_compressed.h'
- @$(srctree)/scripts/usage_compressed include/usage_compressed.h scripts
@touch $@
# Generate some files
diff --git a/applets/Kbuild b/applets/Kbuild
index 04932eec4..9bb4b6292 100644
--- a/applets/Kbuild
+++ b/applets/Kbuild
@@ -7,3 +7,12 @@
obj-y:=
obj-y += applets.o
obj-y += busybox.o
+
+# Generated file needs additional love
+
+applets/applets.o: include/usage_compressed.h
+
+include/usage_compressed.h: $(srctree)/include/usage.h
+ @$(MAKE) $(build)=scripts
+ @echo ' GEN include/usage_compressed.h'
+ @$(srctree)/scripts/usage_compressed include/usage_compressed.h scripts