SPRACO0 August 2019 AM6526 , AM6528 , AM6546 , AM6548
NOTE
Please change directory to your Android File System before continuing.
PRODUCT_MAKEFILES += \
- $(LOCAL_DIR)/beagle_x15.mk \
+ beagle_x15:$(LOCAL_DIR)/beagle_x15.mk \
+ beagle_x15_auto:$(LOCAL_DIR)/auto/beagle_x15.mk \
COMMON_LUNCH_CHOICES := \
beagle_x15-userdebug \
+ beagle_x15_auto-userdebug \
BOARD_SEPOLICY_DIRS += \
device/ti/beagle_x15/sepolicy
+ifeq ($(TARGET_PRODUCT), beagle_x15_auto)
+BOARD_SEPOLICY_DIRS += \
+ packages/services/Car/car_product/sepolicy
+
+DEVICE_MANIFEST_FILE += device/ti/beagle_x15/auto/manifest.xml
+endif
NOTE
The following steps will all be completed inside the device/ti/beagle_x15/auto directory.
$(call inherit-product, device/ti/beagle_x15/device.mk)
$(call inherit-product, device/ti/beagle_x15/auto/device.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
$(call inherit-product, packages/services/Car/car_product/build/car.mk)
PRODUCT_NAME := beagle_x15_auto
PRODUCT_DEVICE := beagle_x15
PRODUCT_BRAND := Android
PRODUCT_MODEL := AOSP Auto on BeagleBoard X15
PRODUCT_MANUFACTURER := Texas Instruments Inc
PRODUCT_PACKAGES += \
android.hardware.automotive.vehicle@2.0-service \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.type.automotive.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.type.automotive.xml \
frameworks/native/data/etc/android.hardware.screen.landscape.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.screen.landscape.xml \
PRODUCT_PROPERTY_OVERRIDES += \
android.car.drawer.unlimited=true \
android.car.hvac.demo=true \
com.android.car.radio.demo=true \
com.android.car.radio.demo.dual=true \
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.automotive.vehicle</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IVehicle</name>
<instance>default</instance>
</interface>
</hal>
</manifest>