diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-14 12:47:25 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-14 12:47:25 +1000 |
commit | 9df56f96fd9a213189ca94c1fccfc3c42bd9c16a (patch) | |
tree | db1db005b59e2b78d5daf9527fa8fc604e07e8c4 /Makefile | |
parent | 30c62e541a1484fedc3d689d62f96d246a28b147 (diff) | |
parent | 5f3303712ef483d270097cae4ba0a559b1056121 (diff) | |
download | busybox-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-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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. |
360 | scripts/basic/%: scripts_basic ; | 360 | scripts/basic/%: scripts_basic ; |
361 | 361 | ||
362 | # This target generates Kbuild's and Config.in's from *.c files | ||
363 | PHONY += gen_build_files | ||
364 | gen_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 |
365 | PHONY += applets_dir | 370 | PHONY += applets_dir |
366 | applets_dir: scripts_basic | 371 | applets_dir: scripts_basic gen_build_files |
367 | $(Q)$(MAKE) $(build)=applets | 372 | $(Q)$(MAKE) $(build)=applets |
368 | 373 | ||
369 | applets/%: applets_dir ; | 374 | applets/%: applets_dir ; |
@@ -378,11 +383,6 @@ ifneq ($(KBUILD_SRC),) | |||
378 | $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) | 383 | $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) |
379 | endif | 384 | endif |
380 | 385 | ||
381 | # This target generates Kbuild's and Config.in's from *.c files | ||
382 | PHONY += gen_build_files | ||
383 | gen_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 | |||
447 | ifeq ($(KBUILD_EXTMOD),) | 447 | ifeq ($(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 |
451 | PHONY += scripts | 451 | PHONY += scripts |
452 | scripts: gen_build_files scripts_basic include/config/MARKER | 452 | scripts: gen_build_files scripts_basic include/config/MARKER |
453 | $(Q)$(MAKE) $(build)=$(@) | 453 | $(Q)$(MAKE) $(build)=$(@) |