Changeset 3120
- Timestamp:
- Oct 31, 2017, 11:51:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer-pass2-installs.kmk
r2726 r3120 43 43 $$(call KB_FN_ASSERT_ABSPATH, stagedst) 44 44 $$(call KB_FN_ASSERT_ABSPATH, srcsrc) 45 $(stagedst) : $(srcsrc) | $(dir $(stagedst))45 $(stagedst) : $(srcsrc) $(top_deps) | $(dir $(stagedst)) $(top_orderdeps) 46 46 %$$(call MSG_INST_FILE,$(srcsrc),$(stagedst)) 47 47 $(top_pre_file_cmds) … … 54 54 $$(call KB_FN_ASSERT_ABSPATH, instdst) 55 55 $$(call KB_FN_ASSERT_ABSPATH, srcsrc) 56 $(instdst) : $(srcsrc) | $(dir $(instdst))56 $(instdst) : $(srcsrc) $(top_deps) | $(dir $(instdst)) $(top_orderdeps) 57 57 %$$(call MSG_INST_FILE,$(srcsrc),$(instdst)) 58 58 $(top_pre_file_cmds) … … 246 246 define def_install_symlink_rule_staging 247 247 $$(call KB_FN_ASSERT_ABSPATH, stagedst) 248 $(stagedst) : | $(dir $(stagedst))248 $(stagedst) : $(top_deps) | $(dir $(stagedst)) $(top_orderdeps) 249 249 %$$(call MSG_INST_SYM,$(stagedst),$(symdst)) 250 250 $$(QUIET)$$(RM) -f -- $$@ … … 257 257 define def_install_symlink_rule_installing 258 258 $$(call KB_FN_ASSERT_ABSPATH, instdst) 259 $(instdst) : | $(dir $(instdst))259 $(instdst) : $(top_deps) | $(dir $(instdst)) $(top_orderdeps) 260 260 %$$(call MSG_INST_SYM,$(instdst),$(symdst)) 261 261 $$(QUIET)$$(RM) -f -- $$@ … … 337 337 define def_install_directory_rule 338 338 $$(call KB_FN_ASSERT_ABSPATH, insdst) 339 $(insdst): 339 $(insdst): $(top_deps) | $(top_orderdeps) 340 340 %$$(call MSG_INST_DIR,$(insdst)) 341 341 $(top_pre_dir_cmds) … … 492 492 local top_instfun := _INSTALL_FILE 493 493 endif 494 local top_deps := \ 495 $($(target)_DEPS.$(bld_trg_cpu)) \ 496 $($(target)_DEPS.$(bld_trg).$(bld_trg_arch).$(bld_type)) \ 497 $($(target)_DEPS.$(bld_trg).$(bld_trg_arch)) \ 498 $($(target)_DEPS.$(bld_trg).$(bld_type)) \ 499 $($(target)_DEPS.$(bld_trg_arch)) \ 500 $($(target)_DEPS.$(bld_trg)) \ 501 $($(target)_DEPS.$(bld_type)) \ 502 $($(target)_DEPS) 503 local top_orderdeps := \ 504 $($(target)_ORDERDEPS.$(bld_trg_cpu)) \ 505 $($(target)_ORDERDEPS.$(bld_trg).$(bld_trg_arch).$(bld_type)) \ 506 $($(target)_ORDERDEPS.$(bld_trg).$(bld_trg_arch)) \ 507 $($(target)_ORDERDEPS.$(bld_trg).$(bld_type)) \ 508 $($(target)_ORDERDEPS.$(bld_trg_arch)) \ 509 $($(target)_ORDERDEPS.$(bld_trg)) \ 510 $($(target)_ORDERDEPS.$(bld_type)) \ 511 $($(target)_ORDERDEPS) 512 ifdef $(target)_DEFPATH 513 local top_defpath := $($(target)_DEFPATH) 514 else ifdef $(target)_PATH 515 local top_defpath := $($(target)_PATH) 516 else 517 local top_defpath := 518 endif 519 ifneq ($(top_defpath),) 520 local top_deps := $(abspathex $(top_deps),$(top_defpath)) 521 local top_orderdeps := $(abspathex $(top_orderdeps),$(top_defpath)) 522 endif 523 494 524 # The user have to use double expansion and can only use the above locals. Not 100% optimal... 495 525 local top_pre_file_cmds := $(evalcall def_fn_prop_get_first_defined,PRE_XFILE_CMDS)
Note:
See TracChangeset
for help on using the changeset viewer.