summaryrefslogtreecommitdiff
path: root/ucpp
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-03-05 09:01:24 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2013-03-05 09:06:19 +0100
commit42326191c40131561bf4f307750b3d8aa98bbc57 (patch)
tree9f9a4b47fbcd7dbb2a6a3160d51ff8f5a049054c /ucpp
parentce1bdc424f462236d8e6bc6c06e95d2f40b43eae (diff)
we need ucpp also for odk
Change-Id: I15a2df171f49141c04f03c61ac3f30db25b6c44c
Diffstat (limited to 'ucpp')
-rw-r--r--ucpp/Module_ucpp.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/ucpp/Module_ucpp.mk b/ucpp/Module_ucpp.mk
index 2bb67d9d26fc..dc4c02f5307b 100644
--- a/ucpp/Module_ucpp.mk
+++ b/ucpp/Module_ucpp.mk
@@ -9,9 +9,10 @@
$(eval $(call gb_Module_Module,ucpp))
-ifneq ($(CROSS_COMPILING),YES)
+# if not cross-compiling or we need ucpp for ODK
+ifneq (,$(if $(CROSS_COMPILING),,T)$(filter ODK,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,ucpp,\
- Executable_ucpp \
+ Executable_ucpp \
UnpackedTarball_ucpp \
))
endif