aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-14 12:47:25 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-14 12:47:25 +1000
commit9df56f96fd9a213189ca94c1fccfc3c42bd9c16a (patch)
treedb1db005b59e2b78d5daf9527fa8fc604e07e8c4 /Makefile
parent30c62e541a1484fedc3d689d62f96d246a28b147 (diff)
parent5f3303712ef483d270097cae4ba0a559b1056121 (diff)
downloadbusybox-w32-9df56f96fd9a213189ca94c1fccfc3c42bd9c16a.tar.gz
busybox-w32-9df56f96fd9a213189ca94c1fccfc3c42bd9c16a.tar.bz2
busybox-w32-9df56f96fd9a213189ca94c1fccfc3c42bd9c16a.zip
Merge branch 'origin/master' (early part)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 6f332825f..a1b6250a4 100644
--- a/Makefile
+++ b/Makefile
@@ -359,11 +359,16 @@ scripts_basic:
359# To avoid any implicit rule to kick in, define an empty command. 359# To avoid any implicit rule to kick in, define an empty command.
360scripts/basic/%: scripts_basic ; 360scripts/basic/%: scripts_basic ;
361 361
362# This target generates Kbuild's and Config.in's from *.c files
363PHONY += gen_build_files
364gen_build_files:
365 $(Q)$(srctree)/scripts/gen_build_files.sh $(srctree) $(objtree)
366
362# bbox: we have helpers in applets/ 367# bbox: we have helpers in applets/
363# we depend on scripts_basic, since scripts/basic/fixdep 368# we depend on scripts_basic, since scripts/basic/fixdep
364# must be built before any other host prog 369# must be built before any other host prog
365PHONY += applets_dir 370PHONY += applets_dir
366applets_dir: scripts_basic 371applets_dir: scripts_basic gen_build_files
367 $(Q)$(MAKE) $(build)=applets 372 $(Q)$(MAKE) $(build)=applets
368 373
369applets/%: applets_dir ; 374applets/%: applets_dir ;
@@ -378,11 +383,6 @@ ifneq ($(KBUILD_SRC),)
378 $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) 383 $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL)
379endif 384endif
380 385
381# This target generates Kbuild's and Config.in's from *.c files
382PHONY += gen_build_files
383gen_build_files:
384 $(Q)$(srctree)/scripts/gen_build_files.sh $(srctree) $(objtree)
385
386# To make sure we do not include .config for any of the *config targets 386# To make sure we do not include .config for any of the *config targets
387# catch them early, and hand them over to scripts/kconfig/Makefile 387# catch them early, and hand them over to scripts/kconfig/Makefile
388# It is allowed to specify more targets when calling make, including 388# It is allowed to specify more targets when calling make, including
@@ -447,7 +447,7 @@ else
447ifeq ($(KBUILD_EXTMOD),) 447ifeq ($(KBUILD_EXTMOD),)
448# Additional helpers built in scripts/ 448# Additional helpers built in scripts/
449# Carefully list dependencies so we do not try to build scripts twice 449# Carefully list dependencies so we do not try to build scripts twice
450# in parrallel 450# in parallel
451PHONY += scripts 451PHONY += scripts
452scripts: gen_build_files scripts_basic include/config/MARKER 452scripts: gen_build_files scripts_basic include/config/MARKER
453 $(Q)$(MAKE) $(build)=$(@) 453 $(Q)$(MAKE) $(build)=$(@)