remove linux configs and compile options not being used
The makefile has some options we do not have in Zephyr, so better remove them to avoid any confusion and misconfiguration. Change-Id: I35663261bceb741a28d35bdbe87df451aa298c86 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
1cc1ac4b2f
commit
a401ddec57
1 changed files with 0 additions and 18 deletions
18
Makefile
18
Makefile
|
@ -649,29 +649,11 @@ KBUILD_CFLAGS += $(subst $(DQUOTE),,$(CONFIG_COMPILER_OPT))
|
||||||
|
|
||||||
export LDFLAG_LINKERCMD OUTPUT_FORMAT OUTPUT_ARCH
|
export LDFLAG_LINKERCMD OUTPUT_FORMAT OUTPUT_ARCH
|
||||||
|
|
||||||
ifdef CONFIG_DEBUG_INFO_REDUCED
|
|
||||||
KBUILD_CFLAGS += $(call cc-option, -femit-struct-debug-baseonly) \
|
|
||||||
$(call cc-option,-fno-var-tracking)
|
|
||||||
endif
|
|
||||||
|
|
||||||
include arch/$(SRCARCH)/Makefile
|
include arch/$(SRCARCH)/Makefile
|
||||||
|
|
||||||
KBUILD_CFLAGS += $(CFLAGS)
|
KBUILD_CFLAGS += $(CFLAGS)
|
||||||
KBUILD_AFLAGS += $(CFLAGS)
|
KBUILD_AFLAGS += $(CFLAGS)
|
||||||
|
|
||||||
ifdef CONFIG_FUNCTION_TRACER
|
|
||||||
ifdef CONFIG_HAVE_FENTRY
|
|
||||||
CC_USING_FENTRY := $(call cc-option, -mfentry -DCC_USING_FENTRY)
|
|
||||||
endif
|
|
||||||
KBUILD_CFLAGS += -pg $(CC_USING_FENTRY)
|
|
||||||
KBUILD_AFLAGS += $(CC_USING_FENTRY)
|
|
||||||
ifdef CONFIG_DYNAMIC_FTRACE
|
|
||||||
ifdef CONFIG_HAVE_C_RECORDMCOUNT
|
|
||||||
BUILD_C_RECORDMCOUNT := y
|
|
||||||
export BUILD_C_RECORDMCOUNT
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# We trigger additional mismatches with less inlining
|
# We trigger additional mismatches with less inlining
|
||||||
ifdef CONFIG_DEBUG_SECTION_MISMATCH
|
ifdef CONFIG_DEBUG_SECTION_MISMATCH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue