summaryrefslogtreecommitdiff
path: root/applets/Kbuild
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-19 22:11:06 +0000
committerDenis Vlasenko2006-10-19 22:11:06 +0000
commit52b5eba715b29ed3e52eaa95a51307cacb4d7677 (patch)
treeadc8031e14bb56832b6d7634b4c9299946530471 /applets/Kbuild
parentfdc101782af8151726a3ba08a83f5bd948c96feb (diff)
downloadbusybox-52b5eba715b29ed3e52eaa95a51307cacb4d7677.zip
busybox-52b5eba715b29ed3e52eaa95a51307cacb4d7677.tar.gz
applets/applets.o must be rebuilt if usage.h is modified.
Diffstat (limited to 'applets/Kbuild')
-rw-r--r--applets/Kbuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/applets/Kbuild b/applets/Kbuild
index 04932ee..9bb4b62 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