2 # Makefile for the MN10300-specific core kernel code
4 extra-y := head.o init_task.o vmlinux.lds
6 obj-y := process.o signal.o entry.o fpu.o traps.o irq.o \
7 ptrace.o setup.o time.o sys_mn10300.o io.o kthread.o \
8 switch_to.o mn10300_ksyms.o kernel_execve.o
10 obj-$(CONFIG_MN10300_WD_TIMER) += mn10300-watchdog.o mn10300-watchdog-low.o
12 obj-$(CONFIG_FPU) += fpu-low.o
14 obj-$(CONFIG_MN10300_TTYSM) += mn10300-serial.o mn10300-serial-low.o \
16 obj-$(CONFIG_GDBSTUB) += gdb-stub.o gdb-low.o
17 obj-$(CONFIG_GDBSTUB_ON_TTYSx) += gdb-io-serial.o gdb-io-serial-low.o
18 obj-$(CONFIG_GDBSTUB_ON_TTYSMx) += gdb-io-ttysm.o gdb-io-ttysm-low.o
20 ifneq ($(CONFIG_MN10300_CACHE_DISABLED),y)
21 obj-$(CONFIG_GDBSTUB) += gdb-cache.o
24 obj-$(CONFIG_MN10300_RTC) += rtc.o
25 obj-$(CONFIG_PROFILE) += profile.o profile-low.o
26 obj-$(CONFIG_MODULES) += module.o
27 obj-$(CONFIG_KPROBES) += kprobes.o