From: Mike Frysinger Date: Thu, 4 Jun 2009 23:29:08 +0000 (-0700) Subject: kbuild: fix detection of CONFIG_FRAME_WARN=0 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=08f67461c609ad96bf26732b590569e02e322019;p=linux-beck.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 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