am 471e60d6
: Merge "Use ALL_MODULES..INSTALLED in modules-for-tag-list"
* commit '471e60d6a89ada5a9ed322d200fbe14eb07764ff': Use ALL_MODULES.$(m).INSTALLED in modules-for-tag-list
This commit is contained in:
@@ -650,14 +650,6 @@ INSTALLABLE_FILES.$(LOCAL_INSTALLED_MODULE).MODULE := $(my_register_name)
|
|||||||
# Keep track of all the tags we've seen.
|
# Keep track of all the tags we've seen.
|
||||||
ALL_MODULE_TAGS := $(sort $(ALL_MODULE_TAGS) $(my_module_tags))
|
ALL_MODULE_TAGS := $(sort $(ALL_MODULE_TAGS) $(my_module_tags))
|
||||||
|
|
||||||
# Add this module to the tag list of each specified tag.
|
|
||||||
# Don't use "+=". If the variable hasn't been set with ":=",
|
|
||||||
# it will default to recursive expansion.
|
|
||||||
$(foreach tag,$(my_module_tags),\
|
|
||||||
$(eval ALL_MODULE_TAGS.$(tag) := \
|
|
||||||
$(ALL_MODULE_TAGS.$(tag)) \
|
|
||||||
$(LOCAL_INSTALLED_MODULE)))
|
|
||||||
|
|
||||||
# Add this module name to the tag list of each specified tag.
|
# Add this module name to the tag list of each specified tag.
|
||||||
$(foreach tag,$(my_module_tags),\
|
$(foreach tag,$(my_module_tags),\
|
||||||
$(eval ALL_MODULE_NAME_TAGS.$(tag) += $(my_register_name)))
|
$(eval ALL_MODULE_NAME_TAGS.$(tag) += $(my_register_name)))
|
||||||
|
@@ -684,7 +684,7 @@ endef
|
|||||||
# any of those tags.
|
# any of those tags.
|
||||||
# $(1): tag list
|
# $(1): tag list
|
||||||
define modules-for-tag-list
|
define modules-for-tag-list
|
||||||
$(sort $(foreach tag,$(1),$(ALL_MODULE_TAGS.$(tag))))
|
$(sort $(foreach tag,$(1),$(foreach m,$(ALL_MODULE_NAME_TAGS.$(tag)),$(ALL_MODULES.$(m).INSTALLED))))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Same as modules-for-tag-list, but operates on
|
# Same as modules-for-tag-list, but operates on
|
||||||
|
Reference in New Issue
Block a user