6d3867987b
Modify Makefiles to support separate coldfire platform directory. Currently the common ColdFire CPU family code sits in the arch/m68knommu/platform/5307 directory. This is confusing, the files containing this common code are in no way specific to the 5307 ColdFire. Create an arch/m68knommu/platform/coldfire directory to contain this common code. Other m68knommu CPU varients do not need use this code though, so it doesn't make sense to move it to arch/m68knommu/kernel. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
33 lines
856 B
Makefile
33 lines
856 B
Makefile
#
|
|
# Makefile for the m68knommu kernel.
|
|
#
|
|
|
|
#
|
|
# If you want to play with the HW breakpoints then you will
|
|
# need to add define this, which will give you a stack backtrace
|
|
# on the console port whenever a DBG interrupt occurs. You have to
|
|
# set up you HW breakpoints to trigger a DBG interrupt:
|
|
#
|
|
# EXTRA_CFLAGS += -DTRAP_DBG_INTERRUPT
|
|
# EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT
|
|
#
|
|
|
|
ifdef CONFIG_FULLDEBUG
|
|
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
|
|
endif
|
|
|
|
obj-$(CONFIG_COLDFIRE) += dma.o entry.o vectors.o
|
|
obj-$(CONFIG_M5206) += timers.o
|
|
obj-$(CONFIG_M5206e) += timers.o
|
|
obj-$(CONFIG_M520x) += pit.o
|
|
obj-$(CONFIG_M523x) += pit.o
|
|
obj-$(CONFIG_M5249) += timers.o
|
|
obj-$(CONFIG_M527x) += pit.o
|
|
obj-$(CONFIG_M5272) += timers.o
|
|
obj-$(CONFIG_M528x) += pit.o
|
|
obj-$(CONFIG_M5307) += timers.o
|
|
obj-$(CONFIG_M532x) += timers.o
|
|
obj-$(CONFIG_M5407) += timers.o
|
|
|
|
extra-y := head.o
|