link_type: common overrides 2nd
This is what intermediates-dir-for does (though it also auto-detects some common classes, which we don't) Test: build-aosp_arm64.ninja is identical Change-Id: I4a3efa74e060d82658b856e68318cd92403a6149
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
# my_link_deps: the dependencies, in the form of <MODULE_CLASS>:<name>
|
||||
#
|
||||
|
||||
my_link_prefix := LINK_TYPE:$(call find-idf-prefix,$(my_kind),$(my_host_cross)):$(if $(my_common),$(my_common),_):$(if $(my_2nd_arch_prefix),$(my_2nd_arch_prefix),_)
|
||||
my_link_prefix := LINK_TYPE:$(call find-idf-prefix,$(my_kind),$(my_host_cross)):$(if $(my_common),$(my_common):_,_:$(if $(my_2nd_arch_prefix),$(my_2nd_arch_prefix),_))
|
||||
link_type := $(my_link_prefix):$(LOCAL_MODULE_CLASS):$(LOCAL_MODULE)
|
||||
ALL_LINK_TYPES := $(ALL_LINK_TYPES) $(link_type)
|
||||
$(link_type).TYPE := $(my_link_type)
|
||||
|
Reference in New Issue
Block a user