convert include/autoconf.h split and include/bbconfigopts.h commands into the new...
authorMike Frysinger <vapier@gentoo.org>
Sun, 31 Dec 2006 11:46:19 +0000 (11:46 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 31 Dec 2006 11:46:19 +0000 (11:46 -0000)
Makefile

index 580a559a4312597f51c25c0a8c722b09d8a4ede6..7b87cb7f9ab53fdadf30569c929a4a84d80f7dab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -799,12 +799,14 @@ export CPPFLAGS_busybox.lds += -P -C -U$(ARCH)
 #bbox#         @ln -fsn asm-$(ARCH) $@
 
 #      Split autoconf.h into include/linux/config/*
+quiet_cmd_gen_bbconfigopts = GEN     include/bbconfigopts.h
+      cmd_gen_bbconfigopts = $(srctree)/scripts/mkconfigs > include/bbconfigopts.h
+quiet_cmd_split_autoconf   = SPLIT   include/autoconf.h -> include/config/*
+      cmd_split_autoconf   = scripts/basic/split-include include/autoconf.h include/config
 #bbox# piggybacked generation of few .h files
 include/config/MARKER: scripts/basic/split-include include/autoconf.h
-       @echo '  SPLIT   include/autoconf.h -> include/config/*'
-       @scripts/basic/split-include include/autoconf.h include/config
-       @echo '  GEN     include/bbconfigopts.h'
-       @$(srctree)/scripts/mkconfigs >include/bbconfigopts.h
+       $(call cmd,split_autoconf)
+       $(call cmd,gen_bbconfigopts)
        @touch $@
 
 # Generate some files