Changeset 1416 in kBuild
- Timestamp:
- Mar 18, 2008 10:37:29 PM (17 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r1415 r1416 626 626 define def_templates_include 627 627 ifndef TEMPLATE_$(template) 628 TEMPLATE_$(template)_INCLUDE_FILE_ := $(firstword $(foreach path, $( TEMPLATE_PATHS) $(PATH_KBUILD)/templates/, $(wildcard $(path)/$(template).kmk)))628 TEMPLATE_$(template)_INCLUDE_FILE_ := $(firstword $(foreach path, $(KBUILD_TEMPLATE_PATHS) $(PATH_KBUILD)/templates $(KBUILD_DEFAULT_PATHS), $(wildcard $(path)/$(template).kmk))) 629 629 ifneq ($(TEMPLATE_$(template)_INCLUDE_FILE_),) 630 630 include $(TEMPLATE_$(template)_INCLUDE_FILE_) … … 1178 1178 define def_tools_load_function 1179 1179 ifndef TOOL_$(loading) 1180 TOOL_$(loading)_KMK_FILE := $(firstword $(foreach path, $( TOOL_PATHS) $(PATH_KBUILD)/tools, $(wildcard $(path)/$(loading).kmk)))1180 TOOL_$(loading)_KMK_FILE := $(firstword $(foreach path, $(KBUILD_TOOL_PATHS) $(PATH_KBUILD)/tools $(KBUILD_DEFAULT_PATHS), $(wildcard $(path)/$(loading).kmk))) 1181 1181 ifeq ($(TOOL_$(loading)_KMK_FILE),) 1182 $(error kBuild: Cannot find include file for the tool '$(loading)'! Searched: $( TOOL_PATHS) $(PATH_KBUILD)/tools)1182 $(error kBuild: Cannot find include file for the tool '$(loading)'! Searched: $(KBUILD_TOOL_PATHS) $(PATH_KBUILD)/tools $(KBUILD_DEFAULT_PATHS)) 1183 1183 endif 1184 1184 include $(TOOL_$(loading)_KMK_FILE) … … 1193 1193 define def_sdk_load_function 1194 1194 ifndef SDK_$(loading) 1195 SDK_$(loading)_KMK_FILE := $(firstword $(foreach path, $( SDK_PATHS) $(PATH_KBUILD)/sdks, $(wildcard $(path)/$(loading).kmk)))1195 SDK_$(loading)_KMK_FILE := $(firstword $(foreach path, $(KBUILD_SDK_PATHS) $(PATH_KBUILD)/sdks $(KBUILD_DEFAULT_PATHS), $(wildcard $(path)/$(loading).kmk))) 1196 1196 ifeq ($(SDK_$(loading)_KMK_FILE),) 1197 $(error kBuild: Cannot find include file for the SDK '$(loading)'! Searched: $( SDK_PATHS) $(PATH_KBUILD)/sdks)1197 $(error kBuild: Cannot find include file for the SDK '$(loading)'! Searched: $(KBUILD_SDK_PATHS) $(PATH_KBUILD)/sdks $(KBUILD_DEFAULT_PATHS)) 1198 1198 endif 1199 1199 include $(SDK_$(loading)_KMK_FILE) -
trunk/kBuild/header.kmk
r1403 r1416 136 136 # The list of standard build types in kBuild. 137 137 # 138 # This list can be extended in Config.kmk and it's possible to extend 138 # This list can be extended in Config.kmk and it's possible to extend 139 139 # (inherit) another build type. 140 140 # … … 564 564 # 565 565 566 ## TEMPLATE_PATHS566 ## KBUILD_TEMPLATE_PATHS 567 567 # List a paths (separated by space) where templates can be found. 568 TEMPLATE_PATHS :=569 570 ## TOOL_PATHS568 KBUILD_TEMPLATE_PATHS := 569 570 ## KBUILD_TOOL_PATHS 571 571 # List of paths (separated by space) where tools can be found. 572 TOOL_PATHS :=573 574 ## SDK_PATHS572 KBUILD_TOOL_PATHS := 573 574 ## KBUILD_SDK_PATHS 575 575 # List of paths (separated by space) where SDKs can be found. 576 SDK_PATHS := 576 KBUILD_SDK_PATHS := 577 578 ## KBUILD_DEFAULT_PATHS 579 # List of paths (separated by space) to search for stuff as a last resort. 580 KBUILD_DEFAULT_PATHS := 577 581 578 582 ## Proritized list of the default makefile when walking subdirectories.
Note:
See TracChangeset
for help on using the changeset viewer.