forked from Minki/linux
45df561a7a
Now that platform.c only has the GPIO reset handling left, move the initcall to reset.c and remove platform.c. Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
31 lines
721 B
Makefile
31 lines
721 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile
|
|
#
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
# Do not trace early boot code and low level code
|
|
CFLAGS_REMOVE_timer.o = -pg
|
|
CFLAGS_REMOVE_intc.o = -pg
|
|
CFLAGS_REMOVE_early_printk.o = -pg
|
|
CFLAGS_REMOVE_ftrace.o = -pg
|
|
CFLAGS_REMOVE_process.o = -pg
|
|
endif
|
|
|
|
extra-y := head.o vmlinux.lds
|
|
|
|
obj-y += dma.o exceptions.o \
|
|
hw_exception_handler.o irq.o \
|
|
process.o prom.o ptrace.o \
|
|
reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
|
|
|
|
obj-y += cpu/
|
|
|
|
obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
|
|
obj-$(CONFIG_MMU) += misc.o
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
|
|
|
obj-y += entry$(MMU).o
|