applets/applets.o must be rebuilt if usage.h is modified.

This commit is contained in:
Denis Vlasenko 2006-10-19 22:11:06 +00:00
parent fdc101782a
commit 52b5eba715
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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