Merge "Add special paths for BoardConfig.mk for gf and cf" into main am: 9bfce20efd

Original change: https://android-review.googlesource.com/c/platform/build/+/2795597

Change-Id: I35303d6b534a037057f41ea58058a723342d8f2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-10-20 21:00:14 +00:00 committed by Automerger Merge Worker
commit b1791e0b6d

View file

@ -224,6 +224,8 @@ else
board_config_mk := \
$(strip $(sort $(wildcard \
$(SRC_TARGET_DIR)/board/$(TARGET_DEVICE)/BoardConfig.mk \
device/generic/goldfish/board/$(TARGET_DEVICE)/BoardConfig.mk \
device/google/cuttlefish/board/$(TARGET_DEVICE)/BoardConfig.mk \
$(shell test -d device && find -L device -maxdepth 4 -path '*/$(TARGET_DEVICE)/BoardConfig.mk') \
$(shell test -d vendor && find -L vendor -maxdepth 4 -path '*/$(TARGET_DEVICE)/BoardConfig.mk') \
)))