summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorDenys Vlasenko2016-08-14 02:54:27 +0200
committerDenys Vlasenko2016-08-14 02:54:27 +0200
commit9e5820a86277818c2f83c11c2aa76d7f0a38283e (patch)
treef33a356484fbd4158f57ef0059151cc8ed8ced07 /applets
parent454829379951cb15d03d7e51ff292addde8548df (diff)
downloadbusybox-9e5820a86277818c2f83c11c2aa76d7f0a38283e.zip
busybox-9e5820a86277818c2f83c11c2aa76d7f0a38283e.tar.gz
build system: fix include/NUM_APPLETS.h generation
TBH, it's more like "work around my bad makefile-fu" than "fix"... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets')
-rw-r--r--applets/Kbuild.src7
1 files changed, 2 insertions, 5 deletions
diff --git a/applets/Kbuild.src b/applets/Kbuild.src
index b612399..5cc1827 100644
--- a/applets/Kbuild.src
+++ b/applets/Kbuild.src
@@ -29,7 +29,7 @@ applets/applets.o: include/usage_compressed.h include/applet_tables.h
applets/applet_tables: .config include/applets.h
applets/usage: .config include/applets.h
-applets/usage_pod: .config include/applet_tables.h include/applets.h
+applets/usage_pod: .config include/applets.h include/applet_tables.h include/NUM_APPLETS.h
quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h
cmd_gen_usage_compressed = $(srctree_slash)applets/usage_compressed include/usage_compressed.h applets
@@ -40,8 +40,5 @@ include/usage_compressed.h: applets/usage $(srctree_slash)applets/usage_compress
quiet_cmd_gen_applet_tables = GEN include/applet_tables.h
cmd_gen_applet_tables = applets/applet_tables include/applet_tables.h include/NUM_APPLETS.h
-include/applet_tables.h: applets/applet_tables
- $(call cmd,gen_applet_tables)
-
-include/NUM_APPLETS.h: applets/applet_tables
+include/applet_tables.h include/NUM_APPLETS.h: applets/applet_tables
$(call cmd,gen_applet_tables)