X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=Makefile;h=0dd3a8d931329092248f40c8dceaaddd1d887305;hb=c28d5077f8d79bfce1e3f88db2e261cf2b6473dc;hp=4df9873f83b275a48037e86e058208fa9c6baffc;hpb=d56557af19867edb8c0e96f8e26399698a08857f;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/Makefile b/Makefile index 4df9873f83b2..0dd3a8d93132 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 36 -EXTRAVERSION = -rc3 +EXTRAVERSION = -rc7 NAME = Sheep on Meth # *DOCUMENTATION* @@ -568,6 +568,12 @@ endif ifdef CONFIG_FUNCTION_TRACER KBUILD_CFLAGS += -pg +ifdef CONFIG_DYNAMIC_FTRACE + ifdef CONFIG_HAVE_C_MCOUNT_RECORD + BUILD_C_RECORDMCOUNT := y + export BUILD_C_RECORDMCOUNT + endif +endif endif # We trigger additional mismatches with less inlining @@ -591,6 +597,11 @@ KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow) # conserve stack if available KBUILD_CFLAGS += $(call cc-option,-fconserve-stack) +# check for 'asm goto' +ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC)), y) + KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO +endif + # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments # But warn user when we do so warn-assign = \