diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-10-11 09:16:15 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-13 14:45:16 -0700 |
commit | 7f472114fb3c0c2cc48ec4490ec9cc3d5b41eeef (patch) | |
tree | 351a55bf057dbdad4f7fbd886feffcc668c7378a /common/build.mk | |
parent | a7587bea86719c289ba58914c9dda36eca0acff0 (diff) | |
download | chrome-ec-7f472114fb3c0c2cc48ec4490ec9cc3d5b41eeef.tar.gz |
cleanup: Use CONFIG_BATTERY to indicate whether a board has a battery
BUG=b:35528297
BRANCH=None
TEST=`make buildall -j`
Change-Id: I9e4814b4172f20711f7edd691c9569f9130aec8e
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/713395
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/build.mk')
-rw-r--r-- | common/build.mk | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/common/build.mk b/common/build.mk index 3f49de0a88..5e779a58c2 100644 --- a/common/build.mk +++ b/common/build.mk @@ -21,14 +21,7 @@ common-$(HAS_TASK_ALS)+=als.o common-$(CONFIG_AP_HANG_DETECT)+=ap_hang_detect.o common-$(CONFIG_BACKLIGHT_LID)+=backlight_lid.o common-$(CONFIG_BASE32)+=base32.o -# TODO(crosbug.com/p/23821): Why do these include battery_common but -# the other batteries don't? Perhaps should use CONFIG_CMD_BATTERY -# instead, since all that's in battery.c is the battery console -# command? -common-$(CONFIG_BATTERY_BQ27541)+=battery.o -common-$(CONFIG_BATTERY_BQ27621)+=battery.o -common-$(CONFIG_BATTERY_MAX17055)+=battery.o -common-$(CONFIG_BATTERY_SMART)+=battery.o +common-$(CONFIG_BATTERY)+=battery.o common-$(CONFIG_BLUETOOTH_LE)+=bluetooth_le.o common-$(CONFIG_BLUETOOTH_LE_STACK)+=btle_hci_controller.o btle_ll.o common-$(CONFIG_BUTTON_COUNT)+=button.o |