xref: /openbmc/linux/arch/m68k/coldfire/Makefile (revision 32164845)
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
18f95a387cSArnd Bergmannobj-$(CONFIG_COLDFIRE)	+= cache.o clk.o device.o entry.o vectors.o
19275e70e4SArnd Bergmannobj-$(CONFIG_M5206)	+= m5206.o intc.o reset.o
20275e70e4SArnd Bergmannobj-$(CONFIG_M5206e)	+= m5206.o intc.o reset.o
21275e70e4SArnd Bergmannobj-$(CONFIG_M520x)	+= m520x.o intc-simr.o reset.o
22275e70e4SArnd Bergmannobj-$(CONFIG_M523x)	+= m523x.o dma_timer.o intc-2.o reset.o
23275e70e4SArnd Bergmannobj-$(CONFIG_M5249)	+= m5249.o intc.o intc-5249.o reset.o
24275e70e4SArnd Bergmannobj-$(CONFIG_M525x)	+= m525x.o intc.o intc-525x.o reset.o
25275e70e4SArnd Bergmannobj-$(CONFIG_M527x)	+= m527x.o intc-2.o reset.o
26275e70e4SArnd Bergmannobj-$(CONFIG_M5272)	+= m5272.o intc-5272.o
27275e70e4SArnd Bergmannobj-$(CONFIG_M528x)	+= m528x.o intc-2.o reset.o
28275e70e4SArnd Bergmannobj-$(CONFIG_M5307)	+= m5307.o intc.o reset.o
29275e70e4SArnd Bergmannobj-$(CONFIG_M53xx)	+= m53xx.o intc-simr.o reset.o
30275e70e4SArnd Bergmannobj-$(CONFIG_M5407)	+= m5407.o intc.o reset.o
31275e70e4SArnd Bergmannobj-$(CONFIG_M54xx)	+= m54xx.o intc-2.o
32275e70e4SArnd Bergmannobj-$(CONFIG_M5441x)	+= m5441x.o intc-simr.o reset.o
33275e70e4SArnd Bergmann
34275e70e4SArnd Bergmannobj-$(CONFIG_COLDFIRE_PIT_TIMER) += pit.o
35275e70e4SArnd Bergmannobj-$(CONFIG_COLDFIRE_TIMERS)	 += timers.o
36275e70e4SArnd 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
48*32164845SMasahiro Yamadaobj-y			+= head.o
49