From 52b5eba715b29ed3e52eaa95a51307cacb4d7677 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 19 Oct 2006 22:11:06 +0000 Subject: applets/applets.o must be rebuilt if usage.h is modified. --- Makefile | 3 --- applets/Kbuild | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) 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 -- cgit v1.2.3