Prev: [PATCH 03/12] irq: use desc->poll_timer for irqpoll
Next: [PATCH] trace-cmd: prevent print_graph_duration buffer overflow
From: Chase Douglas on 13 Jun 2010 13:20 Most package builders apply their own CFLAGS, often set during the make invocation. The trace-cmd internal CFLAGS is overriden in this case. Make sure the important flags are appended. Signed-off-by: Chase Douglas <chase.douglas(a)canonical.com> --- Makefile | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index a278510..08fc4ca 100644 --- a/Makefile +++ b/Makefile @@ -183,7 +183,11 @@ KERNELSHARK_VERSION = $(KS_VERSION).$(KS_PATCHLEVEL).$(KS_EXTRAVERSION) INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES) -CFLAGS = -g -Wall $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ) +# Set compile option CFLAGS if not set elsewhere +CFLAGS ?= -g -Wall + +# Append required CFLAGS +override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ) ifeq ($(VERBOSE),1) Q = -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |