aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-19 22:12:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-19 22:12:47 +0000
commitb560577cb27a4a15a5e1a77d3ac720d2151d3d60 (patch)
treea87d7028bb6c8d26ece0236e8d9945f68f03a236
parent52b5eba715b29ed3e52eaa95a51307cacb4d7677 (diff)
downloadbusybox-b560577cb27a4a15a5e1a77d3ac720d2151d3d60.tar.gz
move usage_compressed.h generation into applets/
-rw-r--r--applets/Kbuild9
-rw-r--r--applets/usage.c (renamed from scripts/usage.c)0
-rwxr-xr-xapplets/usage_compressed (renamed from scripts/usage_compressed)0
-rw-r--r--scripts/Kbuild6
4 files changed, 6 insertions, 9 deletions
diff --git a/applets/Kbuild b/applets/Kbuild
index 9bb4b6292..c95c09d97 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
diff --git a/scripts/usage.c b/applets/usage.c
index d888fa93d..d888fa93d 100644
--- a/scripts/usage.c
+++ b/applets/usage.c
diff --git a/scripts/usage_compressed b/applets/usage_compressed
index ab164aa12..ab164aa12 100755
--- a/scripts/usage_compressed
+++ b/applets/usage_compressed
diff --git a/scripts/Kbuild b/scripts/Kbuild
index 80836cfb5..83b423253 100644
--- a/scripts/Kbuild
+++ b/scripts/Kbuild
@@ -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