aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--default-configs/arm-softmmu.mak1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 369ec9fa05..b0c3027197 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,8 @@ obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
obj-$(CONFIG_SSD0303) += ssd0303.o
obj-$(CONFIG_SSD0323) += ssd0323.o
obj-$(CONFIG_ADS7846) += ads7846.o
-obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o
+obj-$(CONFIG_MAX111X) += max111x.o
+obj-y += i2c.o smbus.o smbus_eeprom.o
obj-y += eeprom93xx.o
obj-y += scsi-disk.o cdrom.o
obj-y += scsi-generic.o scsi-bus.o
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index f68273d57e..486409d384 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -17,3 +17,4 @@ CONFIG_STELLARIS_INPUT=y
CONFIG_SD0303=y
CONFIG_SD0323=y
CONFIG_ADS7846=y
+CONFIG_MAX111X=y