move usage_compressed.h generation into applets/

This commit is contained in:
Denis Vlasenko 2006-10-19 22:12:47 +00:00
parent 52b5eba715
commit b560577cb2
4 changed files with 6 additions and 9 deletions

View File

@ -12,7 +12,10 @@ obj-y += busybox.o
applets/applets.o: include/usage_compressed.h applets/applets.o: include/usage_compressed.h
include/usage_compressed.h: $(srctree)/include/usage.h hostprogs-y += usage
@$(MAKE) $(build)=scripts always := $(hostprogs-y)
HOSTCFLAGS_usage.o = -I$(srctree)/include
include/usage_compressed.h: $(srctree)/include/usage.h applets/usage
@echo ' GEN include/usage_compressed.h' @echo ' GEN include/usage_compressed.h'
@$(srctree)/scripts/usage_compressed include/usage_compressed.h scripts @$(srctree)/applets/usage_compressed include/usage_compressed.h applets

View File

@ -3,11 +3,5 @@
# the kernel for the build process. # the kernel for the build process.
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
hostprogs-y += usage
always := $(hostprogs-y)
# Let clean descend into subdirs # Let clean descend into subdirs
subdir- += basic kconfig subdir- += basic kconfig
HOSTCFLAGS_usage.o = -I$(srctree)/include