Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | # |
| 2 | # Makefile for the MN10300-specific core kernel code |
| 3 | # |
| 4 | extra-y := head.o vmlinux.lds |
| 5 | |
| 6 | fpu-obj-y := fpu-nofpu.o fpu-nofpu-low.o |
| 7 | fpu-obj-$(CONFIG_FPU) := fpu.o fpu-low.o |
| 8 | |
| 9 | obj-y := process.o signal.o entry.o traps.o irq.o \ |
| 10 | ptrace.o setup.o time.o sys_mn10300.o io.o \ |
| 11 | switch_to.o mn10300_ksyms.o $(fpu-obj-y) \ |
| 12 | csrc-mn10300.o cevt-mn10300.o |
| 13 | |
| 14 | obj-$(CONFIG_SMP) += smp.o smp-low.o |
| 15 | |
| 16 | obj-$(CONFIG_MN10300_WD_TIMER) += mn10300-watchdog.o mn10300-watchdog-low.o |
| 17 | |
| 18 | obj-$(CONFIG_MN10300_TTYSM) += mn10300-serial.o mn10300-serial-low.o \ |
| 19 | mn10300-debug.o |
| 20 | obj-$(CONFIG_GDBSTUB) += gdb-stub.o gdb-low.o |
| 21 | obj-$(CONFIG_GDBSTUB_ON_TTYSx) += gdb-io-serial.o gdb-io-serial-low.o |
| 22 | obj-$(CONFIG_GDBSTUB_ON_TTYSMx) += gdb-io-ttysm.o gdb-io-ttysm-low.o |
| 23 | |
| 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 |
| 28 | obj-$(CONFIG_KGDB) += kgdb.o |