summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-03-27 10:07:04 +0100
committerDavid Tardon <dtardon@redhat.com>2013-03-27 17:08:08 +0100
commit1ef1695b6b7a2981220c9b7c3c4329bf983a5e54 (patch)
treec489e92275a7be41895229b4dfdef88ce0151bd1 /Makefile.in
parent769831b9588889e29b882fc65b6021f6ff73dfea (diff)
do not run unit tests when cross-compiling
We already do this for full build (see solenv/gbuild/Module.mk). Change-Id: Icdb6f0e91d8e6674868926e79f63130942295353
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 626c726746c2..3b392e3d0688 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -80,7 +80,7 @@ $(1).subsequentcheck:
cd $(SRCDIR)/$(1) && $(GNUMAKE) -j $(CHECK_PARALLELISM) $(GMAKE_OPTIONS) subsequentcheck
$(1).all: bootstrap fetch
- $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(WORKDIR)/Module/$(1) $(WORKDIR)/Module/check/$(1) $(WORKDIR)/Module/slowcheck/$(1)
+ $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(WORKDIR)/Module/$(1) $(if $(CROSS_COMPILING),,$(WORKDIR)/Module/check/$(1) $(WORKDIR)/Module/slowcheck/$(1))
endef