Changeset 1457 in kBuild
- Timestamp:
- Mar 30, 2008 9:30:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r1456 r1457 548 548 # Load it. 549 549 ifneq ($(load_function),) 550 loading := $( trg)550 loading := $(patsubst $(src_prefix)%,%,$(trg)) 551 551 $(eval $(value $(load_function))) 552 552 endif … … 628 628 # @param loading The template name. This is prefixed. 629 629 define def_templates_load_function 630 loading := $(patsubst TEMPLATE_%,%,$(loading))631 630 ifndef TEMPLATE_$(loading) 632 631 TEMPLATE_$(loading)_KMK_FILE := $(firstword $(foreach path, $(KBUILD_TEMPLATE_PATHS) $(PATH_KBUILD)/templates $(KBUILD_DEFAULT_PATHS), $(wildcard $(path)/$(loading).kmk))) … … 640 639 endif 641 640 endef # def_templates_load_function 642 $(foreach loading, $( addprefix TEMPLATE_,$(_TEMPLATES)), $(eval $(value def_templates_load_function)))641 $(foreach loading, $(_TEMPLATES), $(eval $(value def_templates_load_function))) 643 642 644 643
Note:
See TracChangeset
for help on using the changeset viewer.