Makefile (c43ca5091a374c1f6778bd7e4a39a5a10735a917) Makefile (0c0de199ce1fef20c86679194e31133da21c3c2a)
1#
2# Makefile for x86-compatible CPU details, features and quirks
3#
4
5# Don't trace early stages of a secondary CPU boot
6ifdef CONFIG_FUNCTION_TRACER
7CFLAGS_REMOVE_common.o = -pg
8CFLAGS_REMOVE_perf_event.o = -pg

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

26obj-$(CONFIG_CPU_SUP_CYRIX_32) += cyrix.o
27obj-$(CONFIG_CPU_SUP_CENTAUR) += centaur.o
28obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o
29obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
30
31obj-$(CONFIG_PERF_EVENTS) += perf_event.o
32
33ifdef CONFIG_PERF_EVENTS
1#
2# Makefile for x86-compatible CPU details, features and quirks
3#
4
5# Don't trace early stages of a secondary CPU boot
6ifdef CONFIG_FUNCTION_TRACER
7CFLAGS_REMOVE_common.o = -pg
8CFLAGS_REMOVE_perf_event.o = -pg

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

26obj-$(CONFIG_CPU_SUP_CYRIX_32) += cyrix.o
27obj-$(CONFIG_CPU_SUP_CENTAUR) += centaur.o
28obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o
29obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
30
31obj-$(CONFIG_PERF_EVENTS) += perf_event.o
32
33ifdef CONFIG_PERF_EVENTS
34obj-$(CONFIG_CPU_SUP_AMD) += perf_event_amd.o perf_event_amd_uncore.o
34obj-$(CONFIG_CPU_SUP_AMD) += perf_event_amd.o
35obj-$(CONFIG_CPU_SUP_INTEL) += perf_event_p6.o perf_event_knc.o perf_event_p4.o
36obj-$(CONFIG_CPU_SUP_INTEL) += perf_event_intel_lbr.o perf_event_intel_ds.o perf_event_intel.o
37obj-$(CONFIG_CPU_SUP_INTEL) += perf_event_intel_uncore.o
38endif
39
40obj-$(CONFIG_X86_MCE) += mcheck/
41obj-$(CONFIG_MTRR) += mtrr/
42
43obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o perf_event_amd_ibs.o
44
45quiet_cmd_mkcapflags = MKCAP $@
35obj-$(CONFIG_CPU_SUP_INTEL) += perf_event_p6.o perf_event_knc.o perf_event_p4.o
36obj-$(CONFIG_CPU_SUP_INTEL) += perf_event_intel_lbr.o perf_event_intel_ds.o perf_event_intel.o
37obj-$(CONFIG_CPU_SUP_INTEL) += perf_event_intel_uncore.o
38endif
39
40obj-$(CONFIG_X86_MCE) += mcheck/
41obj-$(CONFIG_MTRR) += mtrr/
42
43obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o perf_event_amd_ibs.o
44
45quiet_cmd_mkcapflags = MKCAP $@
46 cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@
46 cmd_mkcapflags = $(CONFIG_SHELL) $(srctree)/$(src)/mkcapflags.sh $< $@
47
48cpufeature = $(src)/../../include/asm/cpufeature.h
49
50targets += capflags.c
47
48cpufeature = $(src)/../../include/asm/cpufeature.h
49
50targets += capflags.c
51$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
51$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
52 $(call if_changed,mkcapflags)
52 $(call if_changed,mkcapflags)