Makefile (c6380ecd8e9bee7aba3d9a5a94b58168244c4a61) Makefile (c15ac4fd60d5ffdb151bb2c7805f377fd7f90363)
1#
2# Makefile for the RISC-V Linux kernel
3#
4
5ifdef CONFIG_FTRACE
6CFLAGS_REMOVE_ftrace.o = -pg
7CFLAGS_REMOVE_setup.o = -pg
8endif

--- 20 unchanged lines hidden (view full) ---

29obj-y += cacheinfo.o
30obj-y += vdso/
31
32CFLAGS_setup.o := -mcmodel=medany
33
34obj-$(CONFIG_SMP) += smpboot.o
35obj-$(CONFIG_SMP) += smp.o
36obj-$(CONFIG_MODULES) += module.o
1#
2# Makefile for the RISC-V Linux kernel
3#
4
5ifdef CONFIG_FTRACE
6CFLAGS_REMOVE_ftrace.o = -pg
7CFLAGS_REMOVE_setup.o = -pg
8endif

--- 20 unchanged lines hidden (view full) ---

29obj-y += cacheinfo.o
30obj-y += vdso/
31
32CFLAGS_setup.o := -mcmodel=medany
33
34obj-$(CONFIG_SMP) += smpboot.o
35obj-$(CONFIG_SMP) += smp.o
36obj-$(CONFIG_MODULES) += module.o
37obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
38obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
39
37
38obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
39obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
40
40clean:
41clean: