summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-02-08 08:10:44 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-02-08 08:11:26 -0600
commit463f9ff03424a1de5b3d4616202f315adea7f2cd (patch)
tree1fa4d3e2188a270c963e54bc311e09a87193029b /Makefile
parent274772b5ae92f1f368f7102f1b1817a0cb106912 (diff)
support make <module>.all even for gbuild modules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c5c85895f0ad..45b705316ca8 100644
--- a/Makefile
+++ b/Makefile
@@ -240,11 +240,15 @@ xsltml\
zlib\
define gbuild_module_rules
-.PHONY: $(1) $(1).clean $(1).deliver
+.PHONY: $(1) $(1).all $(1).clean $(1).deliver
$(1): bootstrap fetch
cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) gb_PARTIALBUILD=T
+$(1).all: bootstrap fetch
+ cd $(1) && unset MAKEFLAGS && \
+ $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
+
$(1).clean:
cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) clean gb_PARTIALBUILD=T