diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-03-08 14:14:46 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-03-13 16:26:10 +0100 |
commit | bdfdd054bd25714f9c52c974f22228bee4bfbe67 (patch) | |
tree | 5d52309c4d07614d1e555af2e010544cdb3994a1 /tools | |
parent | 3909015f5dd1cbd18de80f38cd1fe675b7c59b7e (diff) |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Executable_bestreversemap.mk | 4 | ||||
-rw-r--r-- | tools/Module_tools.mk | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/tools/Executable_bestreversemap.mk b/tools/Executable_bestreversemap.mk index 33a51dd6d74d..fbf1d13d82e2 100644 --- a/tools/Executable_bestreversemap.mk +++ b/tools/Executable_bestreversemap.mk @@ -22,10 +22,6 @@ $(eval $(call gb_Executable_Executable,bestreversemap)) -$(eval $(call gb_Executable_set_include,bestreversemap,\ - $$(INCLUDE) \ -)) - $(eval $(call gb_Executable_use_libraries,bestreversemap,\ sal \ $(gb_UWINAPI) \ diff --git a/tools/Module_tools.mk b/tools/Module_tools.mk index f49c48922fcb..cef5f7f5c37b 100644 --- a/tools/Module_tools.mk +++ b/tools/Module_tools.mk @@ -27,14 +27,12 @@ $(eval $(call gb_Module_add_targets,tools,\ StaticLibrary_ooopathutils \ )) -$(eval $(call gb_Module_add_check_targets,tools,\ - CppunitTest_tools_test \ +$(eval $(call gb_Module_add_targets_for_build,tools,\ + Executable_bestreversemap \ )) -ifneq ($(CROSS_COMPILING),YES) -$(eval $(call gb_Module_add_targets,tools,\ - Executable_bestreversemap \ +$(eval $(call gb_Module_add_check_targets,tools,\ + CppunitTest_tools_test \ )) -endif # vim: set noet sw=4 ts=4: |