1# 2# Makefile for the MN10300-specific core kernel code 3# 4extra-y := head.o init_task.o vmlinux.lds 5 6obj-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 9 10obj-$(CONFIG_MN10300_WD_TIMER) += mn10300-watchdog.o mn10300-watchdog-low.o 11 12obj-$(CONFIG_FPU) += fpu-low.o 13 14obj-$(CONFIG_MN10300_TTYSM) += mn10300-serial.o mn10300-serial-low.o \ 15 mn10300-debug.o 16obj-$(CONFIG_GDBSTUB) += gdb-stub.o gdb-low.o 17obj-$(CONFIG_GDBSTUB_ON_TTYSx) += gdb-io-serial.o gdb-io-serial-low.o 18obj-$(CONFIG_GDBSTUB_ON_TTYSMx) += gdb-io-ttysm.o gdb-io-ttysm-low.o 19 20ifneq ($(CONFIG_MN10300_CACHE_DISABLED),y) 21obj-$(CONFIG_GDBSTUB) += gdb-cache.o 22endif 23 24obj-$(CONFIG_MN10300_RTC) += rtc.o 25obj-$(CONFIG_PROFILE) += profile.o profile-low.o 26obj-$(CONFIG_MODULES) += module.o 27obj-$(CONFIG_KPROBES) += kprobes.o 28