xref: /openbmc/linux/arch/m68k/coldfire/Makefile (revision 275e70e4)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2f86b9e03SGreg Ungerer#
3f86b9e03SGreg Ungerer# Makefile for the m68knommu kernel.
4f86b9e03SGreg Ungerer#
5f86b9e03SGreg Ungerer
6f86b9e03SGreg Ungerer#
7f86b9e03SGreg Ungerer# If you want to play with the HW breakpoints then you will
8f86b9e03SGreg Ungerer# need to add define this,  which will give you a stack backtrace
9f86b9e03SGreg Ungerer# on the console port whenever a DBG interrupt occurs. You have to
10f86b9e03SGreg Ungerer# set up you HW breakpoints to trigger a DBG interrupt:
11f86b9e03SGreg Ungerer#
12f86b9e03SGreg Ungerer# ccflags-y := -DTRAP_DBG_INTERRUPT
13f86b9e03SGreg Ungerer# asflags-y := -DTRAP_DBG_INTERRUPT
14f86b9e03SGreg Ungerer#
15f86b9e03SGreg Ungerer
16f86b9e03SGreg Ungererasflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1
17f86b9e03SGreg Ungerer
18f86b9e03SGreg Ungererobj-$(CONFIG_COLDFIRE)	+= cache.o clk.o device.o dma.o entry.o vectors.o
19*275e70e4SArnd Bergmannobj-$(CONFIG_M5206)	+= m5206.o intc.o reset.o
20*275e70e4SArnd Bergmannobj-$(CONFIG_M5206e)	+= m5206.o intc.o reset.o
21*275e70e4SArnd Bergmannobj-$(CONFIG_M520x)	+= m520x.o intc-simr.o reset.o
22*275e70e4SArnd Bergmannobj-$(CONFIG_M523x)	+= m523x.o dma_timer.o intc-2.o reset.o
23*275e70e4SArnd Bergmannobj-$(CONFIG_M5249)	+= m5249.o intc.o intc-5249.o reset.o
24*275e70e4SArnd Bergmannobj-$(CONFIG_M525x)	+= m525x.o intc.o intc-525x.o reset.o
25*275e70e4SArnd Bergmannobj-$(CONFIG_M527x)	+= m527x.o intc-2.o reset.o
26*275e70e4SArnd Bergmannobj-$(CONFIG_M5272)	+= m5272.o intc-5272.o
27*275e70e4SArnd Bergmannobj-$(CONFIG_M528x)	+= m528x.o intc-2.o reset.o
28*275e70e4SArnd Bergmannobj-$(CONFIG_M5307)	+= m5307.o intc.o reset.o
29*275e70e4SArnd Bergmannobj-$(CONFIG_M53xx)	+= m53xx.o intc-simr.o reset.o
30*275e70e4SArnd Bergmannobj-$(CONFIG_M5407)	+= m5407.o intc.o reset.o
31*275e70e4SArnd Bergmannobj-$(CONFIG_M54xx)	+= m54xx.o intc-2.o
32*275e70e4SArnd Bergmannobj-$(CONFIG_M5441x)	+= m5441x.o intc-simr.o reset.o
33*275e70e4SArnd Bergmann
34*275e70e4SArnd Bergmannobj-$(CONFIG_COLDFIRE_PIT_TIMER) += pit.o
35*275e70e4SArnd Bergmannobj-$(CONFIG_COLDFIRE_TIMERS)	 += timers.o
36*275e70e4SArnd Bergmannobj-$(CONFIG_COLDFIRE_SLTIMERS)	 += sltimers.o
37f86b9e03SGreg Ungerer
38f86b9e03SGreg Ungererobj-$(CONFIG_NETtel)	+= nettel.o
39f86b9e03SGreg Ungererobj-$(CONFIG_CLEOPATRA)	+= nettel.o
40f86b9e03SGreg Ungererobj-$(CONFIG_FIREBEE)	+= firebee.o
41f86b9e03SGreg Ungererobj-$(CONFIG_MCF8390)	+= mcf8390.o
42a41cdd01SAngelo Dureghelloobj-$(CONFIG_AMCORE)	+= amcore.o
43c8b61d50SAngelo Dureghelloobj-$(CONFIG_STMARK2)	+= stmark2.o
44f86b9e03SGreg Ungerer
45f86b9e03SGreg Ungererobj-$(CONFIG_PCI)	+= pci.o
46f86b9e03SGreg Ungerer
47f86b9e03SGreg Ungererobj-y			+= gpio.o
48f86b9e03SGreg Ungererextra-y := head.o
49