Makefile (0588000eac9ba4178cebade437da3b28e8fad48f) Makefile (8cbd9cc6254065c97c4bac42daa55ba1abe73a8e)
1#
2# Makefile for the linux kernel.
3#
4
5extra-y := head_$(BITS).o head$(BITS).o head.o vmlinux.lds
6
7CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE)
8
9ifdef CONFIG_FUNCTION_TRACER
10# Do not profile debug and lowlevel utilities
11CFLAGS_REMOVE_tsc.o = -pg
1#
2# Makefile for the linux kernel.
3#
4
5extra-y := head_$(BITS).o head$(BITS).o head.o vmlinux.lds
6
7CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE)
8
9ifdef CONFIG_FUNCTION_TRACER
10# Do not profile debug and lowlevel utilities
11CFLAGS_REMOVE_tsc.o = -pg
12CFLAGS_REMOVE_rtc.o = -pg
13CFLAGS_REMOVE_paravirt-spinlocks.o = -pg
14CFLAGS_REMOVE_pvclock.o = -pg
15CFLAGS_REMOVE_kvmclock.o = -pg
16CFLAGS_REMOVE_ftrace.o = -pg
17CFLAGS_REMOVE_early_printk.o = -pg
18endif
19
20obj-y := process_$(BITS).o signal.o entry_$(BITS).o

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

57obj-$(CONFIG_SMP) += tsc_sync.o
58obj-$(CONFIG_SMP) += setup_percpu.o
59obj-$(CONFIG_X86_MPPARSE) += mpparse.o
60obj-y += apic/
61obj-$(CONFIG_X86_REBOOTFIXUPS) += reboot_fixups_32.o
62obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
63obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
64obj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o
12CFLAGS_REMOVE_paravirt-spinlocks.o = -pg
13CFLAGS_REMOVE_pvclock.o = -pg
14CFLAGS_REMOVE_kvmclock.o = -pg
15CFLAGS_REMOVE_ftrace.o = -pg
16CFLAGS_REMOVE_early_printk.o = -pg
17endif
18
19obj-y := process_$(BITS).o signal.o entry_$(BITS).o

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

56obj-$(CONFIG_SMP) += tsc_sync.o
57obj-$(CONFIG_SMP) += setup_percpu.o
58obj-$(CONFIG_X86_MPPARSE) += mpparse.o
59obj-y += apic/
60obj-$(CONFIG_X86_REBOOTFIXUPS) += reboot_fixups_32.o
61obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
62obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
63obj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o
64obj-$(CONFIG_X86_TSC) += trace_clock.o
65obj-$(CONFIG_KEXEC) += machine_kexec_$(BITS).o
66obj-$(CONFIG_KEXEC) += relocate_kernel_$(BITS).o crash.o
67obj-$(CONFIG_CRASH_DUMP) += crash_dump_$(BITS).o
68obj-$(CONFIG_KPROBES) += kprobes.o
69obj-$(CONFIG_OPTPROBES) += kprobes-opt.o
70obj-$(CONFIG_MODULES) += module.o
71obj-$(CONFIG_DOUBLEFAULT) += doublefault_32.o
72obj-$(CONFIG_KGDB) += kgdb.o

--- 42 unchanged lines hidden ---
65obj-$(CONFIG_KEXEC) += machine_kexec_$(BITS).o
66obj-$(CONFIG_KEXEC) += relocate_kernel_$(BITS).o crash.o
67obj-$(CONFIG_CRASH_DUMP) += crash_dump_$(BITS).o
68obj-$(CONFIG_KPROBES) += kprobes.o
69obj-$(CONFIG_OPTPROBES) += kprobes-opt.o
70obj-$(CONFIG_MODULES) += module.o
71obj-$(CONFIG_DOUBLEFAULT) += doublefault_32.o
72obj-$(CONFIG_KGDB) += kgdb.o

--- 42 unchanged lines hidden ---