Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
5f8ffb5f MS |
2 | # |
3 | # Makefile | |
4 | # | |
5 | ||
2fd7c761 MS |
6 | ifdef CONFIG_FUNCTION_TRACER |
7 | # Do not trace early boot code and low level code | |
8 | CFLAGS_REMOVE_timer.o = -pg | |
9 | CFLAGS_REMOVE_intc.o = -pg | |
10 | CFLAGS_REMOVE_early_printk.o = -pg | |
2fd7c761 | 11 | CFLAGS_REMOVE_ftrace.o = -pg |
9e1491de | 12 | CFLAGS_REMOVE_process.o = -pg |
2fd7c761 MS |
13 | endif |
14 | ||
5f8ffb5f MS |
15 | extra-y := head.o vmlinux.lds |
16 | ||
ccfe27d7 | 17 | obj-y += dma.o exceptions.o \ |
0547dc78 | 18 | hw_exception_handler.o irq.o \ |
45df561a | 19 | process.o prom.o ptrace.o \ |
ce3266c0 | 20 | reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o |
5f8ffb5f MS |
21 | |
22 | obj-y += cpu/ | |
23 | ||
5f8ffb5f | 24 | obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o |
4b2368ff | 25 | obj-$(CONFIG_MMU) += misc.o |
24b45a12 | 26 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
7d241ff0 | 27 | obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o |
2d5973cb | 28 | obj-$(CONFIG_KGDB) += kgdb.o |
5f8ffb5f | 29 | |
950b260e | 30 | obj-y += entry$(MMU).o |