From: Mike Frysinger Date: Thu, 4 Jun 2009 23:29:08 +0000 (-0700) Subject: kbuild: fix detection of CONFIG_FRAME_WARN=0 X-Git-Tag: v3.12-rc1~14442 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08f67461c609ad96bf26732b590569e02e322019;p=kernel%2Fkernel-generic.git kbuild: fix detection of CONFIG_FRAME_WARN=0 The checking of CONFIG_FRAME_WARN in the top level Makefile forgot to actually derefence the variable thus leading to an always true check. Signed-off-by: Mike Frysinger Cc: Andi Kleen Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index 610d1c3..1065154 100644 --- a/Makefile +++ b/Makefile @@ -533,7 +533,7 @@ endif include $(srctree)/arch/$(SRCARCH)/Makefile -ifneq (CONFIG_FRAME_WARN,0) +ifneq ($(CONFIG_FRAME_WARN),0) KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) endif