summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-07-24 10:43:36 -0500
committerChromeBot <chrome-bot@google.com>2013-07-24 12:09:49 -0700
commit18f0bd28e2fe2e5a40e36293630e7466bb7b5d6d (patch)
treee0650ba8ec4189ba09df5339f4bc9cf51adb7a7e /common
parent8cd69cfe53b1243e76d2054f7682b32b675bae9c (diff)
downloadchrome-ec-18f0bd28e2fe2e5a40e36293630e7466bb7b5d6d.tar.gz
x86: build chipset_x86_common.o conditionally
Add a CONFIG_CHIPSET_X86 option that determines if chipset_x86_common.o is built. BUG=chrome-os-partner:20372 BRANCH=None TEST=built bolt and link. All other boards should be covered. Change-Id: I980a8fc68a31162b920429e695631909c5f6a4db Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63208 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/build.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/build.mk b/common/build.mk
index b88e4dda00..6f8a0213e0 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -24,8 +24,9 @@ common-$(CONFIG_CHARGER_BQ24707A)+=charger_bq24707a.o
common-$(CONFIG_CHARGER_BQ24738)+=charger_bq24738.o
common-$(CONFIG_CHARGER_TPS65090)+=pmu_tps65090_charger.o
common-$(CONFIG_CHIPSET_GAIA)+=chipset_gaia.o
-common-$(CONFIG_CHIPSET_HASWELL)+=chipset_haswell.o chipset_x86_common.o
-common-$(CONFIG_CHIPSET_IVYBRIDGE)+=chipset_ivybridge.o chipset_x86_common.o
+common-$(CONFIG_CHIPSET_HASWELL)+=chipset_haswell.o
+common-$(CONFIG_CHIPSET_IVYBRIDGE)+=chipset_ivybridge.o
+common-$(CONFIG_CHIPSET_X86)+=chipset_x86_common.o
common-$(CONFIG_PMU_TPS65090)+=pmu_tps65090.o
common-$(CONFIG_EOPTION)+=eoption.o
common-$(CONFIG_EXTPOWER_FALCO)+=extpower_falco.o