diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -557,6 +557,10 @@ KBUILD_CFLAGS += -g | |||
557 | KBUILD_AFLAGS += -gdwarf-2 | 557 | KBUILD_AFLAGS += -gdwarf-2 |
558 | endif | 558 | endif |
559 | 559 | ||
560 | ifdef CONFIG_DEBUG_INFO_REDUCED | ||
561 | KBUILD_CFLAGS += $(call cc-option, -femit-struct-debug-baseonly) | ||
562 | endif | ||
563 | |||
560 | ifdef CONFIG_FUNCTION_TRACER | 564 | ifdef CONFIG_FUNCTION_TRACER |
561 | KBUILD_CFLAGS += -pg | 565 | KBUILD_CFLAGS += -pg |
562 | endif | 566 | endif |