mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 07:16:43 +07:00
3f0060b0e8
The ColdFire CPUs have their own startup and interrupt code (in the platform/coldfire directory), and do not use the general m68k startup and interrupt code. In fact the use of the arch/m68k/kernel/head.o is not about CONFIG_MMU or not, it is really about the machine type we are compiling for. Modify the selection and use of head.o to be based on the machine type. Only select the local ints.o and vectors.o code if we are using the classic 68k CPU types (that use the conventional Morotola MMU or SUN3 MMU). Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Matt Waddel <mwaddel@yahoo.com> Acked-by: Kurt Mahan <kmahan@xmission.com>
26 lines
631 B
Makefile
26 lines
631 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
extra-$(CONFIG_AMIGA) := head.o
|
|
extra-$(CONFIG_ATARI) := head.o
|
|
extra-$(CONFIG_MAC) := head.o
|
|
extra-$(CONFIG_APOLLO) := head.o
|
|
extra-$(CONFIG_VME) := head.o
|
|
extra-$(CONFIG_HP300) := head.o
|
|
extra-$(CONFIG_Q40) := head.o
|
|
extra-$(CONFIG_SUN3X) := head.o
|
|
extra-$(CONFIG_SUN3) := sun3-head.o
|
|
extra-y += vmlinux.lds
|
|
|
|
obj-y := entry.o init_task.o irq.o m68k_ksyms.o module.o process.o ptrace.o
|
|
obj-y += setup.o signal.o sys_m68k.o syscalltable.o time.o traps.o
|
|
|
|
obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o
|
|
obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
|
|
|
|
ifndef CONFIG_MMU_SUN3
|
|
obj-y += dma.o
|
|
endif
|
|
|