diff mbox

[20/30] Only compile twl92230 when one target uses it

Message ID e0cd7aff487a4ff9d2b8f6b41d1c9836906a5e1a.1251399960.git.quintela@redhat.com
State Superseded
Headers show

Commit Message

Juan Quintela Aug. 27, 2009, 7:17 p.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile                        |    3 ++-
 default-configs/arm-softmmu.mak |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 68c604b..c7d6d13 100644
--- a/Makefile
+++ b/Makefile
@@ -86,8 +86,9 @@  obj-y += irq.o
 obj-$(CONFIG_PTIMER) += ptimer.o
 obj-$(CONFIG_MAX7310) += max7310.o
 obj-$(CONFIG_WM8750) += wm8750.o
+obj-$(CONFIG_TWL92230) += twl92230.o
 obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o
-obj-y += ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o
+obj-y += ssd0303.o ssd0323.o ads7846.o stellaris_input.o
 obj-y += tmp105.o lm832x.o eeprom93xx.o tsc2005.o
 obj-y += scsi-disk.o cdrom.o
 obj-y += scsi-generic.o
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index 6149b97..d439509 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -9,3 +9,4 @@  CONFIG_PTIMER=y
 CONFIG_SD=y
 CONFIG_MAX7310=y
 CONFIG_WM8750=y
+CONFIG_TWL92230=y