xtensa: ISS: don't depend on CONFIG_TTY
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 1 May 2014 00:46:36 +0000 (04:46 +0400)
committerChris Zankel <chris@zankel.net>
Mon, 5 May 2014 16:04:10 +0000 (09:04 -0700)
Build console support only when CONFIG_TTY is selected.
This restores ISS as the default platform for allnoconfig builds.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/Kconfig
arch/xtensa/platforms/iss/Makefile

index 17b31982c5662dd617b683965b7db560b375814b..2ca8819979b4363e76d30f4fa8c81bb01cc0482c 100644 (file)
@@ -243,7 +243,6 @@ choice
 
 config XTENSA_PLATFORM_ISS
        bool "ISS"
-       depends on TTY
        select XTENSA_CALIBRATE_CCOUNT
        select SERIAL_CONSOLE
        help
index d2369b799c5077f7b9240135cba96d74acfcc7cf..b3e89291cfbafcb35a1eb07f7f584c35ef7f2d81 100644 (file)
@@ -4,6 +4,7 @@
 # "prom monitor" library routines under Linux.
 #
 
-obj-y                  = console.o setup.o
+obj-y                  = setup.o
+obj-$(CONFIG_TTY)      += console.o
 obj-$(CONFIG_NET)      += network.o
 obj-$(CONFIG_BLK_DEV_SIMDISK) += simdisk.o