Run device-specific tasks at the end of Makefile.
This allows us to add device-specific tasks.
Bug: 17406520
Change-Id: If23a6d530104a8dc3eeaf8215d8d41a6847f4645
diff --git a/core/Makefile b/core/Makefile
index e3dd7ad..5064886 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1744,6 +1744,9 @@
include $(sort $(wildcard $(BUILD_SYSTEM)/tasks/*.mk))
-include $(sort $(wildcard vendor/*/build/tasks/*.mk))
-include $(sort $(wildcard device/*/build/tasks/*.mk))
+# Also the project-specific tasks
+-include $(sort $(wildcard vendor/*/*/build/tasks/*.mk))
+-include $(sort $(wildcard device/*/*/build/tasks/*.mk))
endif
# -----------------------------------------------------------------