move usage_compressed.h generation into applets/
This commit is contained in:
parent
52b5eba715
commit
b560577cb2
@ -12,7 +12,10 @@ obj-y += busybox.o
|
||||
|
||||
applets/applets.o: include/usage_compressed.h
|
||||
|
||||
include/usage_compressed.h: $(srctree)/include/usage.h
|
||||
@$(MAKE) $(build)=scripts
|
||||
hostprogs-y += usage
|
||||
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'
|
||||
@$(srctree)/scripts/usage_compressed include/usage_compressed.h scripts
|
||||
@$(srctree)/applets/usage_compressed include/usage_compressed.h applets
|
||||
|
@ -3,11 +3,5 @@
|
||||
# the kernel for the build process.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
hostprogs-y += usage
|
||||
|
||||
always := $(hostprogs-y)
|
||||
|
||||
# Let clean descend into subdirs
|
||||
subdir- += basic kconfig
|
||||
|
||||
HOSTCFLAGS_usage.o = -I$(srctree)/include
|
||||
|
Loading…
Reference in New Issue
Block a user