aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i2c/Makefile.objs')
-rw-r--r--hw/i2c/Makefile.objs3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i2c/Makefile.objs b/hw/i2c/Makefile.objs
index 6ba976b..f2c61ea 100644
--- a/hw/i2c/Makefile.objs
+++ b/hw/i2c/Makefile.objs
@@ -1,4 +1,5 @@
-common-obj-$(CONFIG_I2C) += core.o smbus_slave.o smbus_master.o
+common-obj-$(CONFIG_I2C) += core.o
+common-obj-$(CONFIG_SMBUS) += smbus_slave.o smbus_master.o
common-obj-$(CONFIG_SMBUS_EEPROM) += smbus_eeprom.o
common-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o
common-obj-$(CONFIG_ACPI_X86_ICH) += smbus_ich9.o