Allow including car boards from outside google_car

Bug: 224902566
Test: Build raven_car and oriole_car
Change-Id: If8b3da8c545b89093436f5ed6c0b65caf67bb5c2
This commit is contained in:
Tomasz Wasilczyk 2022-06-13 21:39:55 +00:00
parent 53c015f2c4
commit 2a6a0231dc
2 changed files with 10 additions and 4 deletions

View file

@ -13,8 +13,11 @@
# See the License for the specific language governing permissions and
# 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_BOARD_INFO_FILE := device/google/raviole/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := oriole

View file

@ -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_BOARD_INFO_FILE := device/google/raviole/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := raven