diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -358,6 +358,15 @@ scripts_basic: | |||
358 | # To avoid any implicit rule to kick in, define an empty command. | 358 | # To avoid any implicit rule to kick in, define an empty command. |
359 | scripts/basic/%: scripts_basic ; | 359 | scripts/basic/%: scripts_basic ; |
360 | 360 | ||
361 | # bbox: we have helpers in applets/ | ||
362 | # we depend on scripts_basic, since scripts/basic/fixdep | ||
363 | # must be built before any other host prog | ||
364 | PHONY += applets_dir | ||
365 | applets_dir: scripts_basic | ||
366 | $(Q)$(MAKE) $(build)=applets | ||
367 | |||
368 | applets/%: applets_dir ; | ||
369 | |||
361 | PHONY += outputmakefile | 370 | PHONY += outputmakefile |
362 | # outputmakefile generates a Makefile in the output directory, if using a | 371 | # outputmakefile generates a Makefile in the output directory, if using a |
363 | # separate output directory. This allows convenient use of make in the | 372 | # separate output directory. This allows convenient use of make in the |
@@ -797,7 +806,7 @@ ifneq ($(KBUILD_MODULES),) | |||
797 | $(Q)rm -f $(MODVERDIR)/* | 806 | $(Q)rm -f $(MODVERDIR)/* |
798 | endif | 807 | endif |
799 | 808 | ||
800 | archprepare: prepare1 scripts_basic | 809 | archprepare: prepare1 scripts_basic applets_dir |
801 | 810 | ||
802 | prepare0: archprepare FORCE | 811 | prepare0: archprepare FORCE |
803 | $(Q)$(MAKE) $(build)=. | 812 | $(Q)$(MAKE) $(build)=. |