diff options
-rw-r--r-- | applets/Kbuild | 9 | ||||
-rw-r--r-- | applets/usage.c (renamed from scripts/usage.c) | 0 | ||||
-rwxr-xr-x | applets/usage_compressed (renamed from scripts/usage_compressed) | 0 | ||||
-rw-r--r-- | scripts/Kbuild | 6 |
4 files changed, 6 insertions, 9 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 diff --git a/scripts/usage.c b/applets/usage.c index d888fa9..d888fa9 100644 --- a/scripts/usage.c +++ b/applets/usage.c diff --git a/scripts/usage_compressed b/applets/usage_compressed index ab164aa..ab164aa 100755 --- a/scripts/usage_compressed +++ b/applets/usage_compressed diff --git a/scripts/Kbuild b/scripts/Kbuild index 80836cf..83b4232 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 |