summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenys Vlasenko2009-12-12 22:17:44 +0100
committerDenys Vlasenko2009-12-12 22:17:44 +0100
commit3e97eeb408a1107b0ffacc6ba39682428c4598f1 (patch)
treef6f7df81821d543bef855f961a76b09e79d49855 /Makefile
parent8cbc300d083001bccac4f33bf61b9dc97f29cb04 (diff)
downloadbusybox-3e97eeb408a1107b0ffacc6ba39682428c4598f1.zip
busybox-3e97eeb408a1107b0ffacc6ba39682428c4598f1.tar.gz
apply post-1.15.2 fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ab0524..7529cd8 100644
--- a/Makefile
+++ b/Makefile
@@ -358,6 +358,15 @@ scripts_basic:
# To avoid any implicit rule to kick in, define an empty command.
scripts/basic/%: scripts_basic ;
+# bbox: we have helpers in applets/
+# we depend on scripts_basic, since scripts/basic/fixdep
+# must be built before any other host prog
+PHONY += applets_dir
+applets_dir: scripts_basic
+ $(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 +806,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)=.