summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/Makefile')
-rw-r--r--arch/m68k/kernel/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/m68k/kernel/Makefile b/arch/m68k/kernel/Makefile
index 339e1b5db..67d87c1b9 100644
--- a/arch/m68k/kernel/Makefile
+++ b/arch/m68k/kernel/Makefile
@@ -13,7 +13,15 @@
all: kernel.o head.o
O_TARGET := kernel.o
O_OBJS := entry.o process.o traps.o ints.o signal.o ptrace.o \
- setup.o bios32.o sys_m68k.o console.o time.o ksyms.o
+ setup.o bios32.o sys_m68k.o time.o
+ifdef CONFIG_VT
+O_OBJS += console.o
+endif
+OX_OBJS := m68k_ksyms.o
+
+ifdef CONFIG_KGDB
+O_OBJS += kgdb.o
+endif
head.o: head.S