summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger2006-12-31 11:46:19 +0000
committerMike Frysinger2006-12-31 11:46:19 +0000
commitd514ba226b5f3344c3e66395e78c5fb0a782d42a (patch)
treefce957743400901f451854d9507064fd2a554ec9 /Makefile
parent5dd76862efb253f8a4fe73f469ff1a037519de66 (diff)
downloadbusybox-d514ba226b5f3344c3e66395e78c5fb0a782d42a.zip
busybox-d514ba226b5f3344c3e66395e78c5fb0a782d42a.tar.gz
convert include/autoconf.h split and include/bbconfigopts.h commands into the new cmd style
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 580a559..7b87cb7 100644
--- 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