From b560577cb27a4a15a5e1a77d3ac720d2151d3d60 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 19 Oct 2006 22:12:47 +0000 Subject: [PATCH] move usage_compressed.h generation into applets/ --- applets/Kbuild | 9 ++++++--- {scripts => applets}/usage.c | 0 {scripts => applets}/usage_compressed | 0 scripts/Kbuild | 6 ------ 4 files changed, 6 insertions(+), 9 deletions(-) rename {scripts => applets}/usage.c (100%) rename {scripts => applets}/usage_compressed (100%) 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 similarity index 100% rename from scripts/usage.c rename to applets/usage.c diff --git a/scripts/usage_compressed b/applets/usage_compressed similarity index 100% rename from scripts/usage_compressed rename to 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 -- 2.25.1