VirtualBox

Changeset 1457 in kBuild


Ignore:
Timestamp:
Mar 30, 2008 9:30:53 PM (17 years ago)
Author:
bird
Message:

Fixed another template loading bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r1456 r1457  
    548548# Load it.
    549549ifneq ($(load_function),)
    550  loading := $(trg)
     550 loading := $(patsubst $(src_prefix)%,%,$(trg))
    551551 $(eval $(value $(load_function)))
    552552endif
     
    628628# @param loading    The template name. This is prefixed.
    629629define def_templates_load_function
    630 loading := $(patsubst TEMPLATE_%,%,$(loading))
    631630ifndef TEMPLATE_$(loading)
    632631 TEMPLATE_$(loading)_KMK_FILE := $(firstword $(foreach path, $(KBUILD_TEMPLATE_PATHS) $(PATH_KBUILD)/templates $(KBUILD_DEFAULT_PATHS), $(wildcard $(path)/$(loading).kmk)))
     
    640639endif
    641640endef # 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)))
    643642
    644643
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette