aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ab0524dc..7529cd8d8 100644
--- a/Makefile
+++ b/Makefile
@@ -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.
359scripts/basic/%: scripts_basic ; 359scripts/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
364PHONY += applets_dir
365applets_dir: scripts_basic
366 $(Q)$(MAKE) $(build)=applets
367
368applets/%: applets_dir ;
369
361PHONY += outputmakefile 370PHONY += 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)/*
798endif 807endif
799 808
800archprepare: prepare1 scripts_basic 809archprepare: prepare1 scripts_basic applets_dir
801 810
802prepare0: archprepare FORCE 811prepare0: archprepare FORCE
803 $(Q)$(MAKE) $(build)=. 812 $(Q)$(MAKE) $(build)=.