This patch removes the Makefile turd and uses the nice CFLAGS_REMOVE macro in the lib directory. Signed-off-by: Steven Rostedt --- lib/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-sched-devel.git/lib/Makefile =================================================================== --- linux-sched-devel.git.orig/lib/Makefile 2008-05-14 18:24:01.000000000 -0700 +++ linux-sched-devel.git/lib/Makefile 2008-05-14 18:24:13.000000000 -0700 @@ -10,11 +10,11 @@ lib-y := ctype.o string.o vsprintf.o cmd ifdef CONFIG_FTRACE # Do not profile string.o, since it may be used in early boot or vdso +CFLAGS_REMOVE_string.o = -pg # Also do not profile any debug utilities -ORIG_CFLAGS := $(KBUILD_CFLAGS) -KBUILD_CFLAGS = $(if $(filter-out %debug debug% string%,$(basename $(notdir $@))), \ - $(ORIG_CFLAGS), \ - $(subst -pg,,$(ORIG_CFLAGS))) +CFLAGS_REMOVE_spinlock_debug.o = -pg +CFLAGS_REMOVE_list_debug.o = -pg +CFLAGS_REMOVE_debugobjects.o = -pg endif lib-$(CONFIG_MMU) += ioremap.o -- -- 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/