From ee99ca01e89ce3b263fd163c95a30d452205ddd6 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 7 Oct 2009 02:41:25 +0200 Subject: [PATCH] Only compile max111x when one target uses it Patchworks-ID: 35219 Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- Makefile | 3 ++- default-configs/arm-softmmu.mak | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 369ec9fa0..b0c302719 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 f68273d57..486409d38 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 -- 2.39.2