From 9a9626d72b52ab6bf171c3dfb3583023617c242f Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Mon, 13 Jun 2022 22:17:56 +0000 Subject: [PATCH] Allow including car boards from outside google_car Bug: 224902566 Test: Build redfin_car Change-Id: I0577f0a11fea2773195416e63db1be6e0430ecc9 --- redfin/BoardConfig.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/redfin/BoardConfig.mk b/redfin/BoardConfig.mk index 8e371df..1bcb070 100644 --- a/redfin/BoardConfig.mk +++ b/redfin/BoardConfig.mk @@ -14,8 +14,11 @@ # limitations under the License. # -ifdef PHONE_CAR_BOARD_PRODUCT - include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk +ifdef AUTOMOTIVE_PRODUCT_PATH + #RBC# include_top device/google/auto_tcu + #RBC# include_top device/google/pixel_tcu + #RBC# include_top device/google_car + include device/$(AUTOMOTIVE_PRODUCT_PATH)/BoardConfig.mk else TARGET_BOOTLOADER_BOARD_NAME := redfin TARGET_SCREEN_DENSITY := 440