Changeset 1399 in kBuild
- Timestamp:
- Mar 16, 2008 10:05:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r1394 r1399 241 241 242 242 243 ## 244 # Function for $(call)'ing. 245 # @param 1 trgs List of object to consider for inheriting. 246 # @param 2 src_prefix What to prefix the value found in EXTENDS with to get the object. 247 # @param 3 properties List of the properties with straight expansion. 248 # @param 4 properties_now List of the properties with immediate expansion. 249 # @param 5 properties_deferred List of the properties with deferred expansion (e.g. function). 250 define fn_inherit 251 src_prefix := $(2) 252 properties := $(3) 253 properties_now := $(4) 254 properties_deferred := $(5) 255 $(foreach trg, $(1),$(eval $(value def_inherit))) 256 endef 257 258 259 243 260 # 244 261 # Determin all the templates that is being used and make … … 421 438 422 439 # 423 # Common Inheritance 440 # Template/Target Expansion. 441 # 442 # Extend all targets with the values from the template. Doing this up front 443 # allows more generic code and less mess down in the pass 2 target handling. 444 # However it does eat a good deal of memory. 424 445 # 425 446 … … 711 732 $(foreach tool, $(_TOOLS), $(eval $(value def_tools_include))) 712 733 734 ## @todo TOOL_X_EXTENDS 735 713 736 714 737 # include SDKS … … 737 760 endif 738 761 762 ## @todo SDK_X_EXTENDS 739 763 740 764 #
Note:
See TracChangeset
for help on using the changeset viewer.