From bdfdd054bd25714f9c52c974f22228bee4bfbe67 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Fri, 8 Mar 2013 14:14:46 +0100 Subject: more subtle dependencies for cross-compilation Now we build only what we really need for 'build' platform - there is new build-tools make target. The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk. Also similar is done to some extent for 'host' platform using gb_Module_add_targets_for_build which is ignored for 'host'. Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2 --- idlc/Module_idlc.mk | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'idlc/Module_idlc.mk') diff --git a/idlc/Module_idlc.mk b/idlc/Module_idlc.mk index 4a79c0b5e4c4..a20d105cd829 100644 --- a/idlc/Module_idlc.mk +++ b/idlc/Module_idlc.mk @@ -9,9 +9,17 @@ $(eval $(call gb_Module_Module,idlc)) -ifneq (,$(filter DESKTOP,$(BUILD_TYPE))) -$(eval $(call gb_Module_add_targets,idlc,Executable_idlc)) -$(eval $(call gb_Module_add_check_targets,idlc,CustomTarget_parser_test)) +# if not cross-compiling or we need this for ODK +ifneq (,$(if $(CROSS_COMPILING),,T)$(filter ODK,$(BUILD_TYPE))) + +$(eval $(call gb_Module_add_targets,idlc,\ + Executable_idlc \ +)) + +$(eval $(call gb_Module_add_check_targets,idlc,\ + CustomTarget_parser_test \ +)) + endif # vim:set noet sw=4 ts=4: -- cgit