Install symlinks when using shortcut phony targets
Make symlinks an order-only dependency of the module name phony target so that they get installed with make module or make MODULES-IN-path. Test: mmma -j art/dalvikvm, remove symlink in $OUT and retry Change-Id: Iae472a1c8fa1e8386cc9556cfe819bd4fca99428
This commit is contained in:
parent
1d7e0f2c74
commit
6d34b61bd3
|
@ -374,6 +374,8 @@ my_installed_symlinks := $(addprefix $(my_module_path)/,$(LOCAL_MODULE_SYMLINKS)
|
|||
$(foreach symlink,$(my_installed_symlinks),\
|
||||
$(call symlink-file,$(LOCAL_INSTALLED_MODULE),$(my_installed_module_stem),$(symlink)))
|
||||
|
||||
$(my_register_name) : | $(my_installed_symlinks)
|
||||
|
||||
endif # !LOCAL_UNINSTALLABLE_MODULE
|
||||
|
||||
###########################################################
|
||||
|
|
Loading…
Reference in New Issue