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
This commit is contained in:
Matúš Kukan
2013-03-08 14:14:46 +01:00
parent 3909015f5d
commit bdfdd054bd
23 changed files with 124 additions and 62 deletions

View File

@ -26,7 +26,8 @@
$(eval $(call gb_Module_Module,codemaker))
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
# 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,codemaker,\
Package_inc \