Add special paths for BoardConfig.mk for gf and cf
goldfish and cuttlefish are emulator and have many boards which makes their device folders very crowded. This change will allow to move all boards into a dedicated folder. This change will go away once a more consistent approach to search for board configurations is implemented. Bug: 295259752 Test: presubmit Change-Id: I78efe5a0ecd1ca9cffbadc7d7112f50e444ff7c3 Signed-off-by: Roman Kiryanov <rkir@google.com>
This commit is contained in:
parent
e7bf32f0de
commit
8cc6b1181e
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,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') \
|
||||
)))
|
||||
|
|
Loading…
Reference in a new issue