summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-04 16:29:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-04 18:07:40 -0700
commit08f67461c609ad96bf26732b590569e02e322019 (patch)
treeffa72aebfc826a9e0fd62d05188c83360949274f
parent087eb437051b3de817720f9c80c440fc9e7dcce8 (diff)
downloadlinux-08f67461c609ad96bf26732b590569e02e322019.tar.gz
linux-08f67461c609ad96bf26732b590569e02e322019.tar.bz2
linux-08f67461c609ad96bf26732b590569e02e322019.zip
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 <vapier@gentoo.org> Cc: Andi Kleen <ak@suse.de> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 610d1c332c45..106515492089 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