Add missing dependency from module name to symlinks
The rules to install the symlinks had dependencies from PRODUCT_PACKAGES install rules, but from manual install requests like `m toybox`. Add the missing dependencies. Also add the new declare-0p-target licensing call. Fixes: 205524422 Test: m toybox Change-Id: Ie9a5e37b09250aa271ab153a13f41bc34fa4a38a
This commit is contained in:
@@ -526,6 +526,10 @@ ifneq (,$(LOCAL_SOONG_INSTALLED_MODULE))
|
|||||||
# copy of the intermediates for now, as some rules that collect intermediates may expect
|
# copy of the intermediates for now, as some rules that collect intermediates may expect
|
||||||
# them to exist.
|
# them to exist.
|
||||||
$(LOCAL_INSTALLED_MODULE): $(LOCAL_BUILT_MODULE)
|
$(LOCAL_INSTALLED_MODULE): $(LOCAL_BUILT_MODULE)
|
||||||
|
|
||||||
|
$(foreach symlink, $(LOCAL_SOONG_INSTALL_SYMLINKS), \
|
||||||
|
$(call declare-0p-target,$(symlink)))
|
||||||
|
$(my_all_targets) : | $(LOCAL_SOONG_INSTALL_SYMLINKS)
|
||||||
else ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))
|
else ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))
|
||||||
ifneq ($(LOCAL_INSTALLED_MODULE),$(my_default_test_module))
|
ifneq ($(LOCAL_INSTALLED_MODULE),$(my_default_test_module))
|
||||||
$(LOCAL_INSTALLED_MODULE): PRIVATE_POST_INSTALL_CMD := $(LOCAL_POST_INSTALL_CMD)
|
$(LOCAL_INSTALLED_MODULE): PRIVATE_POST_INSTALL_CMD := $(LOCAL_POST_INSTALL_CMD)
|
||||||
|
Reference in New Issue
Block a user