Changeset 2762 for trunk/kBuild
- Timestamp:
- Jan 28, 2015, 7:17:54 PM (10 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer-pass1.kmk
r2726 r2762 145 145 endif 146 146 else 147 local inst := 148 local stage := 147 149 $(target)_1_STAGE := 148 150 $(target)_1_STAGE_TARGET := … … 245 247 $(target)_INSTTYPE := none 246 248 endif 247 $(evalval def_pass1_link_common)249 $(evalvalctx def_pass1_link_common) 248 250 endef 249 251 … … 254 256 bld_trg_base_var := PLATFORM 255 257 $(foreach target, $(_ALL_BLDPROGS), \ 256 $(evalval def_pass1_bldprog))258 $(evalvalctx def_pass1_bldprog)) 257 259 258 260 … … 266 268 bld_trg_base_var := TARGET 267 269 $(foreach target, $(_ALL_LIBRARIES), \ 268 $(evalval def_pass1_link_common))270 $(evalvalctx def_pass1_link_common)) 269 271 270 272 … … 278 280 bld_trg_base_var := TARGET 279 281 $(foreach target, $(_ALL_DLLS), \ 280 $(evalval def_pass1_link_common))282 $(evalvalctx def_pass1_link_common)) 281 283 282 284 … … 294 296 bld_trg_base_var := TARGET 295 297 $(foreach target, $(_ALL_IMPORT_LIBS), \ 296 $(evalval def_pass1_link_common))298 $(evalvalctx def_pass1_link_common)) 297 299 else 298 300 EXT := DLL … … 302 304 bld_trg_base_var := TARGET 303 305 $(foreach target, $(_ALL_IMPORT_LIBS), \ 304 $(evalval def_pass1_link_common))306 $(evalvalctx def_pass1_link_common)) 305 307 endif 306 308 … … 315 317 bld_trg_base_var := TARGET 316 318 $(foreach target, $(_ALL_PROGRAMS), \ 317 $(evalval def_pass1_link_common))319 $(evalvalctx def_pass1_link_common)) 318 320 319 321 … … 327 329 bld_trg_base_var := TARGET 328 330 $(foreach target, $(_ALL_SYSMODS), \ 329 $(evalval def_pass1_link_common))331 $(evalvalctx def_pass1_link_common)) 330 332 331 333 … … 339 341 bld_trg_base_var := TARGET 340 342 $(foreach target, $(_ALL_MISCBINS), \ 341 $(evalval def_pass1_link_common))343 $(evalvalctx def_pass1_link_common)) 342 344 343 345 … … 453 455 454 456 $(foreach target, $(_ALL_INSTALLS), \ 455 $(evalval def_pass1_install))457 $(evalvalctx def_pass1_install)) 456 458 457 459 ifdef KBUILD_PROFILE_SELF -
trunk/kBuild/footer-pass2-compiling-targets.kmk
r2726 r2762 271 271 $($(target)_SOURCES.$(bld_trg_cpu))\ 272 272 $($(target)_SOURCES.$(bld_type))\ 273 ,$(evalval def_src_handler_one) )273 ,$(evalvalctx def_src_handler_one) ) 274 274 275 275 $(foreach source,\ … … 282 282 $($(target)_GEN_SOURCES_.$(bld_trg_cpu))\ 283 283 $($(target)_GEN_SOURCES_.$(bld_type))\ 284 ,$(evalval def_src_handler_one) )284 ,$(evalvalctx def_src_handler_one) ) 285 285 endef # def_target_sources 286 286 $(eval-opt-var def_target_sources) … … 407 407 local debug_install_cmd := $(INSTALL) 408 408 local debug_var := INSTALL 409 $(foreach debug_inst, $($(target)_1_DEBUG_INST), $(evalval def_target_install_only_debug))409 $(foreach debug_inst, $($(target)_1_DEBUG_INST), $(evalvalctx def_target_install_only_debug)) 410 410 endif 411 411 … … 414 414 local debug_var := STAGE 415 415 if1of ($($(target)_1_DEBUG_INSTTYPE), stage both) 416 $(foreach debug_inst, $($(target)_1_DEBUG_STAGE), $(evalval def_target_install_only_debug))416 $(foreach debug_inst, $($(target)_1_DEBUG_STAGE), $(evalvalctx def_target_install_only_debug)) 417 417 endif 418 418 if1of ($($(target)_1_INSTTYPE), stage both) 419 419 ifndef debug_nostage 420 $(foreach debug_inst,$($(target)_1_STAGE), $(evalval def_target_install_only_debug))420 $(foreach debug_inst,$($(target)_1_STAGE), $(evalvalctx def_target_install_only_debug)) 421 421 endif 422 422 endif … … 489 489 $($(target)_USES.$(bld_type))\ 490 490 $($(target)_USES) 491 $(foreach unit,$(units),$(evalval def_unit_$(unit)_target_pre))491 $(foreach unit,$(units),$(evalvalctx def_unit_$(unit)_target_pre)) 492 492 493 493 # source -> object … … 629 629 tool_do := LINK_LIBRARY 630 630 mode := 0644 631 $(foreach target, $(_ALL_LIBRARIES), $(evalval def_lib))631 $(foreach target, $(_ALL_LIBRARIES), $(evalvalctx def_lib)) 632 632 633 633 ifdef KBUILD_PROFILE_SELF … … 692 692 $($(target)_USES.$(bld_type))\ 693 693 $($(target)_USES) 694 $(foreach unit,$(units),$(evalval def_unit_$(unit)_target_pre))694 $(foreach unit,$(units),$(evalvalctx def_unit_$(unit)_target_pre)) 695 695 696 696 # source -> object … … 968 968 mode := 0755 969 969 bld_trg_base_var := PLATFORM 970 $(foreach target, $(_ALL_BLDPROGS), $(evalval def_link_common))970 $(foreach target, $(_ALL_BLDPROGS), $(evalvalctx def_link_common)) 971 971 972 972 ifdef KBUILD_PROFILE_SELF … … 986 986 mode := 0644 987 987 bld_trg_base_var := TARGET 988 $(foreach target, $(_ALL_DLLS), $(evalval def_link_common))988 $(foreach target, $(_ALL_DLLS), $(evalvalctx def_link_common)) 989 989 990 990 ifdef KBUILD_PROFILE_SELF … … 1006 1006 EXT := LIB 1007 1007 tool_do := LINK_LIBRARY 1008 $(foreach target, $(_ALL_IMPORT_LIBS), $(evalval def_lib))1008 $(foreach target, $(_ALL_IMPORT_LIBS), $(evalvalctx def_lib)) 1009 1009 else 1010 1010 EXT := DLL 1011 1011 tool_do := LINK_DLL 1012 $(foreach target, $(_ALL_IMPORT_LIBS), $(evalval def_link_common))1012 $(foreach target, $(_ALL_IMPORT_LIBS), $(evalvalctx def_link_common)) 1013 1013 endif 1014 1014 … … 1029 1029 mode := 0755 1030 1030 bld_trg_base_var := TARGET 1031 $(foreach target, $(_ALL_PROGRAMS), $(evalval def_link_common))1031 $(foreach target, $(_ALL_PROGRAMS), $(evalvalctx def_link_common)) 1032 1032 1033 1033 ifdef KBUILD_PROFILE_SELF … … 1047 1047 mode := 0644 1048 1048 bld_trg_base_var := TARGET 1049 $(foreach target, $(_ALL_SYSMODS), $(evalval def_link_common))1049 $(foreach target, $(_ALL_SYSMODS), $(evalvalctx def_link_common)) 1050 1050 1051 1051 ifdef KBUILD_PROFILE_SELF … … 1065 1065 mode := 0644 1066 1066 bld_trg_base_var := TARGET 1067 $(foreach target, $(_ALL_MISCBINS), $(evalval def_link_common))1067 $(foreach target, $(_ALL_MISCBINS), $(evalvalctx def_link_common)) 1068 1068 1069 1069 ifdef KBUILD_PROFILE_SELF
Note:
See TracChangeset
for help on using the changeset viewer.