8150741: make <module> not equivalent to make <module-dependencies> <module>
Reviewed-by: mchung
--- a/make/Main.gmk Mon Sep 23 16:24:32 2019 +0200
+++ b/make/Main.gmk Mon Sep 23 09:00:28 2019 -0700
@@ -707,6 +707,8 @@
$(foreach m, $(JAVA_MODULES), \
$(eval $m-java: $(addsuffix -java, $(filter $(JAVA_MODULES), \
$(call FindDepsForModule,$m)))))
+ # Declare dependencies between the module meta targets
+ $(foreach m, $(ALL_MODULES), $(eval $m: $(call FindDepsForModule,$m)))
# Declare dependencies between <module>-rmic to <module>-java
$(foreach m, $(RMIC_MODULES), $(eval $m-rmic: $m-java))