summaryrefslogtreecommitdiff
path: root/applets/Kbuild
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-19 22:12:47 +0000
committerDenis Vlasenko2006-10-19 22:12:47 +0000
commitb560577cb27a4a15a5e1a77d3ac720d2151d3d60 (patch)
treea87d7028bb6c8d26ece0236e8d9945f68f03a236 /applets/Kbuild
parent52b5eba715b29ed3e52eaa95a51307cacb4d7677 (diff)
downloadbusybox-b560577cb27a4a15a5e1a77d3ac720d2151d3d60.zip
busybox-b560577cb27a4a15a5e1a77d3ac720d2151d3d60.tar.gz
move usage_compressed.h generation into applets/
Diffstat (limited to 'applets/Kbuild')
-rw-r--r--applets/Kbuild9
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