diff --git a/BoardConfig.mk b/BoardConfig.mk index fab23ae..51361f1 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -7,6 +7,9 @@ # Inherit from sm6150-common include device/xiaomi/sm6150-common/BoardConfigCommon.mk +# Inherit from proprietary files for miuicamera +-include vendor/xiaomi/sweet-miuicamera/products/board.mk + DEVICE_PATH := device/xiaomi/sweet # Assert diff --git a/device.mk b/device.mk index 61078c0..35cd955 100644 --- a/device.mk +++ b/device.mk @@ -7,6 +7,9 @@ # Inherit from sm6150-common $(call inherit-product, device/xiaomi/sm6150-common/sm6150.mk) +# Call the MiuiCamera setup +$(call inherit-product-if-exists, vendor/xiaomi/sweet-miuicamera/products/miuicamera.mk) + # API level, the device has been commercially launched on PRODUCT_SHIPPING_API_LEVEL := 30