From: Denis Vlasenko Date: Thu, 19 Oct 2006 22:11:06 +0000 (-0000) Subject: applets/applets.o must be rebuilt if usage.h is modified. X-Git-Tag: 1_4_0~496 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52b5eba715b29ed3e52eaa95a51307cacb4d7677;p=oweals%2Fbusybox.git applets/applets.o must be rebuilt if usage.h is modified. --- diff --git a/Makefile b/Makefile index 41b2ea103..10392a056 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/applets/Kbuild b/applets/Kbuild index 04932eec4..9bb4b6292 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