diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-04 16:21:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-04 16:33:44 +0200 |
commit | da6c468f337ecafd69b5e0942000ed1bb7415e34 (patch) | |
tree | 5bba9f37d49ce74bb6588b206d96584fd193df69 /Makefile.top | |
parent | add module targets to .PHONY (diff) | |
download | core-da6c468f337ecafd69b5e0942000ed1bb7415e34.tar.gz core-da6c468f337ecafd69b5e0942000ed1bb7415e34.zip |
add also toplevel <module>.build target, while I'm at it
Change-Id: Idd61ec8539dbed81b4500f7c041f8a2b614a7233
Diffstat (limited to 'Makefile.top')
-rw-r--r-- | Makefile.top | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.top b/Makefile.top index c1fc74429040..bb632a241546 100644 --- a/Makefile.top +++ b/Makefile.top @@ -255,7 +255,7 @@ zlib\ export gb_TAILBUILDTARGET=all slowcheck define gbuild_module_rules -.PHONY: $(1) $(1).all $(1).check $(1).clean $(1).subsequentcheck $(1).deliver +.PHONY: $(1) $(1).all $(1).build $(1).check $(1).clean $(1).subsequentcheck $(1).deliver $(1): bootstrap fetch cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) gb_PARTIALBUILD=T @@ -269,6 +269,9 @@ $(1).all: bootstrap fetch ) \ $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM) +$(1).build: + cd $(1) && $(GNUMAKE) -j $(CHECK_PARALLELISM) $(GMAKE_OPTIONS) build gb_PARTIALBUILD=T + $(1).check: cd $(1) && $(GNUMAKE) -j $(CHECK_PARALLELISM) $(GMAKE_OPTIONS) check gb_PARTIALBUILD=T |