build: Add extra build customization for /product
This makes /product more consistent with /device & /vendor BUG: 22030305 Change-Id: Ic65bfde7fb3e9fab8c8fb8d99af15404574abde0
This commit is contained in:
committed by
Gaurav Shah
parent
455f6f458d
commit
04ba31236e
@@ -1966,9 +1966,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
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
|
@@ -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)))
|
||||
|
Reference in New Issue
Block a user