Only compile ads7846 when one target uses it

Patchworks-ID: 35218
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Juan Quintela 2009-10-07 02:41:24 +02:00 committed by Anthony Liguori
parent 54bcf07471
commit 20a4afc421
2 changed files with 2 additions and 1 deletions

View File

@ -107,8 +107,8 @@ obj-$(CONFIG_TMP105) += tmp105.o
obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
obj-$(CONFIG_SSD0303) += ssd0303.o obj-$(CONFIG_SSD0303) += ssd0303.o
obj-$(CONFIG_SSD0323) += ssd0323.o obj-$(CONFIG_SSD0323) += ssd0323.o
obj-$(CONFIG_ADS7846) += ads7846.o
obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o
obj-y += ads7846.o
obj-y += eeprom93xx.o obj-y += eeprom93xx.o
obj-y += scsi-disk.o cdrom.o obj-y += scsi-disk.o cdrom.o
obj-y += scsi-generic.o scsi-bus.o obj-y += scsi-generic.o scsi-bus.o

View File

@ -16,3 +16,4 @@ CONFIG_TMP105=y
CONFIG_STELLARIS_INPUT=y CONFIG_STELLARIS_INPUT=y
CONFIG_SD0303=y CONFIG_SD0303=y
CONFIG_SD0323=y CONFIG_SD0323=y
CONFIG_ADS7846=y