Phony target $(LOCAL_MODULE) covers all multilib variants.
Bug: 27760875 Change-Id: Ie59e2c36964fa736b17fb4185563c08a8cb75b80
This commit is contained in:
parent
37aa85e8bb
commit
71c58092f4
|
@ -286,6 +286,12 @@ $(LOCAL_INTERMEDIATE_TARGETS) : PRIVATE_MODULE:= $(my_register_name)
|
||||||
.PHONY: $(my_register_name)
|
.PHONY: $(my_register_name)
|
||||||
$(my_register_name): $(LOCAL_BUILT_MODULE) $(LOCAL_INSTALLED_MODULE)
|
$(my_register_name): $(LOCAL_BUILT_MODULE) $(LOCAL_INSTALLED_MODULE)
|
||||||
|
|
||||||
|
ifneq ($(my_register_name),$(LOCAL_MODULE))
|
||||||
|
# $(LOCAL_MODULE) covers all the multilib targets.
|
||||||
|
.PHONY: $(LOCAL_MODULE)
|
||||||
|
$(LOCAL_MODULE) : $(my_register_name)
|
||||||
|
endif
|
||||||
|
|
||||||
# Set up phony targets that covers all modules under the given paths.
|
# Set up phony targets that covers all modules under the given paths.
|
||||||
# This allows us to build everything in given paths by running mmma/mma.
|
# This allows us to build everything in given paths by running mmma/mma.
|
||||||
my_path_components := $(subst /,$(space),$(LOCAL_PATH))
|
my_path_components := $(subst /,$(space),$(LOCAL_PATH))
|
||||||
|
|
Loading…
Reference in New Issue