summaryrefslogtreecommitdiff
path: root/common/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common/build.mk')
-rw-r--r--common/build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/build.mk b/common/build.mk
index 0c5250cf18..bbc0789f9b 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -68,6 +68,9 @@ common-$(CONFIG_CHARGER)+=charger.o
ifneq ($(CONFIG_CHARGER),)
common-$(CONFIG_BATTERY)+=charge_state_v2.o
endif
+ifneq ($(CONFIG_EC_EC_COMM_BATTERY_CLIENT),)
+common-$(CONFIG_BATTERY)+=charger_base.o
+endif
common-$(CONFIG_CHARGER_PROFILE_OVERRIDE_COMMON)+=charger_profile_override.o
common-$(CONFIG_CMD_I2CWEDGE)+=i2c_wedge.o
common-$(CONFIG_COMMON_GPIO)+=gpio.o gpio_commands.o