Merge "Look for product configs in device/ in addition to vendor/"
This commit is contained in:
committed by
Android (Google) Code Review
commit
29544b21fb
@@ -122,6 +122,7 @@ include $(BUILD_SYSTEM)/envsetup.mk
|
|||||||
board_config_mk := \
|
board_config_mk := \
|
||||||
$(strip $(wildcard \
|
$(strip $(wildcard \
|
||||||
$(SRC_TARGET_DIR)/board/$(TARGET_DEVICE)/BoardConfig.mk \
|
$(SRC_TARGET_DIR)/board/$(TARGET_DEVICE)/BoardConfig.mk \
|
||||||
|
device/*/$(TARGET_DEVICE)/BoardConfig.mk \
|
||||||
vendor/*/$(TARGET_DEVICE)/BoardConfig.mk \
|
vendor/*/$(TARGET_DEVICE)/BoardConfig.mk \
|
||||||
))
|
))
|
||||||
ifeq ($(board_config_mk),)
|
ifeq ($(board_config_mk),)
|
||||||
|
@@ -23,7 +23,8 @@
|
|||||||
# $(call ) isn't necessary.
|
# $(call ) isn't necessary.
|
||||||
#
|
#
|
||||||
define _find-android-products-files
|
define _find-android-products-files
|
||||||
$(shell test -d vendor && find vendor -maxdepth 6 -name AndroidProducts.mk) \
|
$(shell test -d device && find device -maxdepth 6 -name AndroidProducts.mk) \
|
||||||
|
$(shell test -d vendor && find vendor -maxdepth 6 -name AndroidProducts.mk) \
|
||||||
$(SRC_TARGET_DIR)/product/AndroidProducts.mk
|
$(SRC_TARGET_DIR)/product/AndroidProducts.mk
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user