[MIPS] Fix and cleanup the mess that a dozen prom_printf variants are.
[linux-drm-fsl-dcu.git] / arch / mips / mips-boards / generic / Makefile
index be47c1c2bc8020f33726c620749a28ac2e48315f..aade36d7878777ef3a2289b844b718818a8c9b5a 100644 (file)
@@ -18,9 +18,9 @@
 # Makefile for the MIPS boards generic routines under Linux.
 #
 
-obj-y                          := reset.o display.o init.o memory.o printf.o \
+obj-y                          := reset.o display.o init.o memory.o \
                                   cmdline.o time.o
+
+obj-$(CONFIG_EARLY_PRINTK)     += console.o
 obj-$(CONFIG_PCI)              += pci.o
 obj-$(CONFIG_KGDB)             += gdb_hook.o
-
-EXTRA_AFLAGS := $(CFLAGS)