summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-06-15 21:35:35 +0000
committerBernhard Reutner-Fischer2006-06-15 21:35:35 +0000
commit42f091a76120b4bf2ab7466dfaaf8907f9d9b189 (patch)
treeaac37d347342f06debbf290aedc3200f0ff33846 /Makefile
parent39218932b1e99be6ef91329f7fb1beeeb40941c1 (diff)
downloadbusybox-42f091a76120b4bf2ab7466dfaaf8907f9d9b189.zip
busybox-42f091a76120b4bf2ab7466dfaaf8907f9d9b189.tar.gz
- let the scripts be prerequisites of the files the generate
- make sure that bbconfig isn't too stupid
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e5ac831..55f45f9 100644
--- a/Makefile
+++ b/Makefile
@@ -430,7 +430,7 @@ DEP_INCLUDES := include/bb_config.h
ifeq ($(strip $(CONFIG_BBCONFIG)),y)
DEP_INCLUDES += include/bbconfigopts.h
-include/bbconfigopts.h: .config
+include/bbconfigopts.h: .config $(top_srcdir)/scripts/config/mkconfigs
$(disp_gen)
$(Q)$(top_srcdir)/scripts/config/mkconfigs > $@
endif
@@ -442,7 +442,7 @@ $(USAGE_BIN): $(top_srcdir)/scripts/usage.c .config
DEP_INCLUDES += include/usage_compressed.h
-include/usage_compressed.h: .config $(USAGE_BIN)
+include/usage_compressed.h: .config $(USAGE_BIN) $(top_srcdir)/scripts/usage_compressed
$(Q)SED="$(SED)" $(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_builddir)/scripts" > $@
endif # CONFIG_FEATURE_COMPRESS_USAGE