summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/BoardConfigCM.mk4
-rw-r--r--config/common.mk10
2 files changed, 14 insertions, 0 deletions
diff --git a/config/BoardConfigCM.mk b/config/BoardConfigCM.mk
new file mode 100644
index 0000000..a8bf1ad
--- /dev/null
+++ b/config/BoardConfigCM.mk
@@ -0,0 +1,4 @@
+# Charger
+ifneq ($(WITH_CM_CHARGER),false)
+ BOARD_HAL_STATIC_LIBRARIES := libhealthd.cm
+endif
diff --git a/config/common.mk b/config/common.mk
index 2ee23dd..a0e49ca 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -186,6 +186,16 @@ PRODUCT_PACKAGES += \
strace \
pigz
+# Custom off-mode charger
+ifneq ($(WITH_CM_CHARGER),false)
+PRODUCT_PACKAGES += \
+ charger_res_images \
+ cm_charger_res_images \
+ font_log.png \
+ libhealthd.cm
+endif
+
+# ExFAT support
WITH_EXFAT ?= true
ifeq ($(WITH_EXFAT),true)
TARGET_USES_EXFAT := true