This patch removes the Makefile turd and uses the nice CFLAGS_REMOVE macro in the x86/kernel directory. Signed-off-by: Steven Rostedt --- arch/x86/kernel/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) Index: linux-sched-devel.git/arch/x86/kernel/Makefile =================================================================== --- linux-sched-devel.git.orig/arch/x86/kernel/Makefile 2008-05-14 18:12:21.000000000 -0700 +++ linux-sched-devel.git/arch/x86/kernel/Makefile 2008-05-14 18:24:43.000000000 -0700 @@ -8,10 +8,9 @@ CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE) ifdef CONFIG_FTRACE # Do not profile debug utilities -ORIG_CFLAGS := $(KBUILD_CFLAGS) -KBUILD_CFLAGS = $(if $(filter-out tsc_64 tsc_32 rtc,$(basename $(notdir $@))), \ - $(ORIG_CFLAGS), \ - $(subst -pg,,$(ORIG_CFLAGS))) +CFLAGS_REMOVE_tsc_64.o = -pg +CFLAGS_REMOVE_tsc_32.o = -pg +CFLAGS_REMOVE_rtc.o = -pg endif # -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/