aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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