- let the scripts be prerequisites of the files the generate
- make sure that bbconfig isn't too stupid
This commit is contained in:
parent
39218932b1
commit
42f091a761
2 changed files with 3 additions and 3 deletions
4
Makefile
4
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue