config/common_car: Remove car_product inheritance

Should be done in the device trees, like Google does and all devices
that we support with different build types (mobile and ATV).

The only requirement is to call the makefile before vendor/lineage one
so that PRODUCT_IS_AUTOMOTIVE is set before inheriting from Lineage
common stuff. That allows to skip some undesired package if needed
without having to move those out from common makefile and duplicate
into common_car and common_tv makefiles.

Change-Id: Id663f48f3d484f415ff04869c52073fbc6b87148
This commit is contained in:
Bruno Martins
2024-01-19 22:45:27 +00:00
parent 1f1e4dbf6a
commit 7cb63b9651

View File

@@ -3,6 +3,3 @@ $(call inherit-product, vendor/lineage/config/common.mk)
# Inherit Lineage car device tree # Inherit Lineage car device tree
$(call inherit-product, device/lineage/car/lineage_car.mk) $(call inherit-product, device/lineage/car/lineage_car.mk)
# Inherit the main AOSP car makefile that turns this into an Automotive build
$(call inherit-product, packages/services/Car/car_product/build/car.mk)