From f8996033d1116b4187b66e48313f66895a4240b4 Mon Sep 17 00:00:00 2001 From: firebird11 Date: Sat, 13 Dec 2025 22:29:44 +0100 Subject: [PATCH] raphael: Include MIUICamera Change-Id: I1ac994aa8541c047fe5dfc5fabc2680143bf2b8e Signed-off-by: firebird11 --- BoardConfig.mk | 5 +++++ device.mk | 2 ++ 2 files changed, 7 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 5f09e5b..e936a80 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -7,6 +7,11 @@ # Inherit from sm8150-common include device/xiaomi/sm8150-common/BoardConfigCommon.mk +# Include MIUI Camera board settings if present +ifneq ($(wildcard device/xiaomi/miuicamera/BoardConfig.mk),) +include device/xiaomi/miuicamera/BoardConfig.mk +endif + DEVICE_PATH := device/xiaomi/raphael # Assert diff --git a/device.mk b/device.mk index 6c05ace..12d96c1 100644 --- a/device.mk +++ b/device.mk @@ -24,6 +24,8 @@ TARGET_SCREEN_HEIGHT := 2340 TARGET_SCREEN_WIDTH := 1080 # Camera +$(call inherit-product-if-exists, device/xiaomi/miuicamera/device.mk) + PRODUCT_PACKAGES += \ libMegviiFacepp-0.5.2 \ libmegface \