aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Shah <gauravsh@google.com>2015-11-02 22:22:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-11-02 22:22:32 +0000
commita80f1e32575db5d66f4b4e6efdf79dd10dd2295e (patch)
tree3eb0e31f8596a4796d8b7cc78846c4d3c9df51de
parentacb8a7c1f8cacaf136edba1a25d64467d352a432 (diff)
parent04ba31236e694c6d4c3347dae3631e45a48209ae (diff)
downloadbuild-a80f1e32575db5d66f4b4e6efdf79dd10dd2295e.tar.gz
Merge "build: Add extra build customization for /product"
-rw-r--r--core/Makefile2
-rw-r--r--core/definitions.mk1
2 files changed, 3 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 2f7ebdf3c7..3a323d1a8f 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1972,9 +1972,11 @@ ifneq ($(dont_bother),true)
include $(sort $(wildcard $(BUILD_SYSTEM)/tasks/*.mk))
-include $(sort $(wildcard vendor/*/build/tasks/*.mk))
-include $(sort $(wildcard device/*/build/tasks/*.mk))
+-include $(sort $(wildcard product/*/build/tasks/*.mk))
# Also the project-specific tasks
-include $(sort $(wildcard vendor/*/*/build/tasks/*.mk))
-include $(sort $(wildcard device/*/*/build/tasks/*.mk))
+-include $(sort $(wildcard product/*/*/build/tasks/*.mk))
endif
include $(BUILD_SYSTEM)/product-graph.mk
diff --git a/core/definitions.mk b/core/definitions.mk
index ecc72532d1..ce7602bf70 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -2547,6 +2547,7 @@ include $(BUILD_SYSTEM)/distdir.mk
# Include any vendor specific definitions.mk file
-include $(TOPDIR)vendor/*/build/core/definitions.mk
-include $(TOPDIR)device/*/build/core/definitions.mk
+-include $(TOPDIR)product/*/build/core/definitions.mk
# broken:
# $(foreach file,$^,$(if $(findstring,.a,$(suffix $file)),-l$(file),$(file)))