summaryrefslogtreecommitdiff
path: root/epm/Module_epm.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-10-31 18:44:52 +0200
committerTor Lillqvist <tml@iki.fi>2012-10-31 18:53:35 +0200
commite5b645bc60a0b058632a75613d31db3398ed20f5 (patch)
tree4e249f27b3e4789ea838e015e0d31d33a3dbf416 /epm/Module_epm.mk
parent036e4a5a89c020ddccf91a7fc8704bf6ec0b5d6c (diff)
Don't build the epm tools for the HOST platform when cross-compiling
Change-Id: I98aa2bcb90385096915c9cddea6a9e68ab95d29c
Diffstat (limited to 'epm/Module_epm.mk')
-rw-r--r--epm/Module_epm.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/epm/Module_epm.mk b/epm/Module_epm.mk
index 8a522727b384..773342cb2819 100644
--- a/epm/Module_epm.mk
+++ b/epm/Module_epm.mk
@@ -11,6 +11,8 @@ $(eval $(call gb_Module_Module,epm))
ifeq (EPM,$(filter EPM,$(BUILD_TYPE)))
+ifneq ($(CROSS_COMPILING),YES)
+
$(eval $(call gb_Module_add_targets,epm,\
ExternalPackage_epm \
ExternalProject_epm \
@@ -19,4 +21,6 @@ $(eval $(call gb_Module_add_targets,epm,\
endif
+endif
+
# vim: set noet sw=4 ts=4: