summaryrefslogtreecommitdiffstats
path: root/arch/mips/rb532/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/rb532/Makefile')
-rw-r--r--arch/mips/rb532/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/rb532/Makefile b/arch/mips/rb532/Makefile
index efdecdb6e3ea..8186afca2234 100644
--- a/arch/mips/rb532/Makefile
+++ b/arch/mips/rb532/Makefile
@@ -2,4 +2,6 @@
# Makefile for the RB532 board specific parts of the kernel
#
-obj-y += irq.o time.o setup.o serial.o prom.o gpio.o devices.o
+obj-$(CONFIG_SERIAL_8250_CONSOLE) += serial.o
+
+obj-y += irq.o time.o setup.o prom.o gpio.o devices.o
OpenPOWER on IntegriCloud