aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-24 22:23:21 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-24 22:23:21 +0100
commitb24c1139fb4fb6e1bf8ca5a753ee95b497717b17 (patch)
tree709625fb571eedc4f7569c64dacd96d4ef1f93e8 /Makefile
parentb1278a38bcb108fad3230ecce94a53b64571f9de (diff)
downloadbusybox-b24c1139fb4fb6e1bf8ca5a753ee95b497717b17.tar.gz
build system: fix parallel make
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f81bcead0..7084c5c1d 100644
--- a/Makefile
+++ b/Makefile
@@ -358,6 +358,13 @@ scripts_basic:
# To avoid any implicit rule to kick in, define an empty command.
scripts/basic/%: scripts_basic ;
+# bbox: we have helpers in applets/
+PHONY += applets_dir
+applets_dir:
+ $(Q)$(MAKE) $(build)=applets
+
+applets/%: applets_dir ;
+
PHONY += outputmakefile
# outputmakefile generates a Makefile in the output directory, if using a
# separate output directory. This allows convenient use of make in the
@@ -797,7 +804,7 @@ ifneq ($(KBUILD_MODULES),)
$(Q)rm -f $(MODVERDIR)/*
endif
-archprepare: prepare1 scripts_basic
+archprepare: prepare1 scripts_basic applets_dir
prepare0: archprepare FORCE
$(Q)$(MAKE) $(build)=.