diff options
Diffstat (limited to 'applets/Kbuild')
-rw-r--r-- | applets/Kbuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/applets/Kbuild b/applets/Kbuild index 9bb4b62..c95c09d 100644 --- a/applets/Kbuild +++ b/applets/Kbuild @@ -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 |