Changeset 2537 for trunk/kBuild/footer-pass2-installs.kmk
- Timestamp:
- Aug 2, 2011, 9:44:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer-pass2-installs.kmk
r2531 r2537 45 45 $(stagedst) : $(srcsrc) | $(dir $(stagedst)) 46 46 %$$(call MSG_INST_FILE,$(srcsrc),$(stagedst)) 47 $(top_pre_file_cmds) 47 48 $$(QUIET)$(stagecmd) 49 $(top_post_file_cmds) 48 50 endef 49 51 $(eval-opt-var def_install_src_rule_staging) … … 54 56 $(instdst) : $(srcsrc) | $(dir $(instdst)) 55 57 %$$(call MSG_INST_FILE,$(srcsrc),$(instdst)) 58 $(top_pre_file_cmds) 56 59 $$(QUIET)$(instcmd) 60 $(top_post_file_cmds) 57 61 endef 58 62 $(eval-opt-var def_install_src_rule_installing) … … 245 249 %$$(call MSG_INST_SYM,$(stagedst),$(symdst)) 246 250 $$(QUIET)$$(RM) -f -- $$@ 251 $(top_pre_sym_cmds) 247 252 $$(QUIET)$$(LN_SYMLINK) $(symdst) $(stagedst) 253 $(top_post_sym_cmds) 248 254 endef 249 255 $(eval-opt-var def_install_symlink_rule_staging) … … 254 260 %$$(call MSG_INST_SYM,$(instdst),$(symdst)) 255 261 $$(QUIET)$$(RM) -f -- $$@ 262 $(top_pre_sym_cmds) 256 263 $$(QUIET)$$(LN_SYMLINK) $(symdst) $(instdst) 264 $(top_post_sym_cmds) 257 265 endef 258 266 $(eval-opt-var def_install_symlink_rule_installing) … … 331 339 $(insdst): 332 340 %$$(call MSG_INST_DIR,$(insdst)) 341 $(top_pre_dir_cmds) 333 342 $$(QUIET)$$(INSTALL) -d \ 334 343 $(if $(uid),-o $(uid))\ … … 337 346 $(flags) -- \ 338 347 $(insdst) 348 $(top_post_dir_cmds) 339 349 340 350 .NOTPARALLEL: $(insdst) … … 452 462 453 463 ifneq ($(insttype),none) 454 # cache top level target properties.464 # Cache top level target properties. 455 465 local top_mode := $(firstword \ 456 466 $($(target)_MODE.$(bld_trg).$(bld_trg_arch)) \ … … 482 492 local top_instfun := _INSTALL_FILE 483 493 endif 494 # The user have to use double expansion and can only use the above locals. Not 100% optimal... 495 local top_pre_file_cmds := $(evalcall def_fn_prop_get_first_defined,PRE_XFILE_CMDS) 496 local top_post_file_cmds := $(evalcall def_fn_prop_get_first_defined,POST_XFILE_CMDS) 497 local top_pre_sym_cmds := $(evalcall def_fn_prop_get_first_defined,PRE_SYMLINK_CMDS) 498 local top_post_sym_cmds := $(evalcall def_fn_prop_get_first_defined,POST_SYMLINK_CMDS) 499 local top_pre_dir_cmds := $(evalcall def_fn_prop_get_first_defined,PRE_DIRECTORY_CMDS) 500 local top_post_dir_cmds := $(evalcall def_fn_prop_get_first_defined,POST_DIRECTORY_CMDS) 484 501 485 502 $(foreach directory, \
Note:
See TracChangeset
for help on using the changeset viewer.