Change-Id: Ifb6554802f32809c93110a492393f6c3bd8122d8
## Include the common tree BoardConfig makefile
include device/amlogic/g12-common/BoardConfigCommon.mk
+
+## Include the proprietary BoardConfig makefile
+include vendor/amlogic/m5/BoardConfigVendor.mk
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay
+## Platform
+TARGET_AMLOGIC_SOC := sm1
+
## TEE
TARGET_HAS_TEE := false
## Inherit from the common tree product makefile
$(call inherit-product, device/amlogic/g12-common/g12.mk)
+
+## Inherit from the proprietary files makefile
+$(call inherit-product, vendor/amlogic/m5/m5-vendor.mk)
export DEVICE=m5
export DEVICE_COMMON=g12-common
-export VENDOR=bananapi
+export TARGET_SOC=sm1
+export VENDOR=amlogic
+export VENDOR_BRAND=bananapi
export VENDOR_COMMON=amlogic
"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/extract-files.sh" "$@"
export DEVICE=m5
export DEVICE_COMMON=g12-common
-export VENDOR=bananapi
+export TARGET_SOC=sm1
+export VENDOR=amlogic
+export VENDOR_BRAND=bananapi
export VENDOR_COMMON=amlogic
"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"