boards/arm: Remove "LDFLAGS += -g" whichi is already added by Toolchain.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
1c977e97d2
commit
f5dd839879
@ -41,10 +41,6 @@ ifneq ($(CONFIG_WINDOWS_CYGWIN),y)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ("${CONFIG_DEBUG_FEATURES}","y")
|
||||
ARCHOPTIMIZATION = -g
|
||||
endif
|
||||
|
||||
ifeq ($(OLDGCC),n)
|
||||
ARCHCPUFLAGS = -mcpu=arm7tdmi -mfloat-abi=soft
|
||||
else
|
||||
@ -67,7 +63,3 @@ NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) \
|
||||
-T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld \
|
||||
-no-check-sections
|
||||
LDNXFLATFLAGS = -e main -s 2048
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_FEATURES),y)
|
||||
LDFLAGS += -g
|
||||
endif
|
||||
|
@ -55,8 +55,6 @@ CXXELFFLAGS = $(CXXFLAGS) -mlong-calls # --target1-abs
|
||||
LDELFFLAGS = -r -e main
|
||||
LDELFFLAGS += -T $(call CONVERT_PATH,$(TOPDIR)/binfmt/libelf/gnu-elf.ld)
|
||||
|
||||
# File extensions
|
||||
|
||||
# Linker flags
|
||||
|
||||
ifeq ($(CONFIG_LC823450_SDIF_PATCH),y)
|
||||
|
@ -65,7 +65,3 @@ CMODULEFLAGS = $(CFLAGS) -mlong-calls # --target1-abs
|
||||
|
||||
LDMODULEFLAGS = -r -e module_initialize
|
||||
LDMODULEFLAGS += -T $(call CONVERT_PATH,$(TOPDIR)/libs/libc/modlib/gnu-elf.ld)
|
||||
|
||||
# File extensions
|
||||
|
||||
# Linker flags
|
||||
|
@ -41,10 +41,6 @@ ifneq ($(CONFIG_WINDOWS_CYGWIN),y)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ("${CONFIG_DEBUG_FEATURES}","y")
|
||||
ARCHOPTIMIZATION = -g
|
||||
endif
|
||||
|
||||
ifeq ($(OLDGCC),n)
|
||||
ARCHCPUFLAGS = -mcpu=arm7tdmi -mfloat-abi=soft
|
||||
else
|
||||
@ -67,7 +63,3 @@ NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) \
|
||||
-T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld \
|
||||
-no-check-sections
|
||||
LDNXFLATFLAGS = -e main -s 2048
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_FEATURES),y)
|
||||
LDFLAGS += -g
|
||||
endif
|
||||
|
@ -41,10 +41,6 @@ ifneq ($(CONFIG_WINDOWS_CYGWIN),y)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ("${CONFIG_DEBUG_FEATURES}","y")
|
||||
ARCHOPTIMIZATION = -g
|
||||
endif
|
||||
|
||||
ifeq ($(OLDGCC),n)
|
||||
ARCHCPUFLAGS = -mcpu=arm7tdmi -mfloat-abi=soft
|
||||
else
|
||||
@ -67,7 +63,3 @@ NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) \
|
||||
-T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld \
|
||||
-no-check-sections
|
||||
LDNXFLATFLAGS = -e main -s 2048
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_FEATURES),y)
|
||||
LDFLAGS += -g
|
||||
endif
|
||||
|
@ -41,10 +41,6 @@ ifneq ($(CONFIG_WINDOWS_CYGWIN),y)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ("${CONFIG_DEBUG_FEATURES}","y")
|
||||
ARCHOPTIMIZATION = -g
|
||||
endif
|
||||
|
||||
ifeq ($(OLDGCC),n)
|
||||
ARCHCPUFLAGS = -mcpu=arm7tdmi -mfloat-abi=soft
|
||||
else
|
||||
@ -67,7 +63,3 @@ NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) \
|
||||
-T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld \
|
||||
-no-check-sections
|
||||
LDNXFLATFLAGS = -e main -s 2048
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_FEATURES),y)
|
||||
LDFLAGS += -g
|
||||
endif
|
||||
|
@ -19,8 +19,6 @@
|
||||
############################################################################
|
||||
|
||||
include $(TOPDIR)/Make.defs
|
||||
#ROMSYMTABLE = bb_rom_sym_m0.gdbsym
|
||||
#LDFLAGS += $(BOARD_DIR)$(DELIM)scripts$(DELIM)$(ROMSYMTABLE)
|
||||
CSRCS = boot.c bringup.c
|
||||
|
||||
CSRCS += userleds.c
|
||||
|
@ -54,7 +54,3 @@ CXXELFFLAGS = $(CXXFLAGS) -mlong-calls # --target1-abs
|
||||
|
||||
LDELFFLAGS = -r -e main
|
||||
LDELFFLAGS += -T $(call CONVERT_PATH,$(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)modlib$(DELIM)gnu-elf.ld)
|
||||
|
||||
# File extensions
|
||||
|
||||
# Linker flags
|
||||
|
@ -54,7 +54,3 @@ CXXELFFLAGS = $(CXXFLAGS) -mlong-calls # --target1-abs
|
||||
|
||||
LDELFFLAGS = -r -e main
|
||||
LDELFFLAGS += -T $(call CONVERT_PATH,$(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)modlib$(DELIM)gnu-elf.ld)
|
||||
|
||||
# File extensions
|
||||
|
||||
# Linker flags
|
||||
|
@ -41,10 +41,6 @@ ifneq ($(CONFIG_WINDOWS_CYGWIN),y)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ("${CONFIG_DEBUG_FEATURES}","y")
|
||||
ARCHOPTIMIZATION = -g
|
||||
endif
|
||||
|
||||
ifeq ($(OLDGCC),n)
|
||||
ARCHCPUFLAGS = -mcpu=arm7tdmi -mfloat-abi=soft
|
||||
else
|
||||
@ -67,7 +63,3 @@ NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) \
|
||||
-T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld \
|
||||
-no-check-sections
|
||||
LDNXFLATFLAGS = -e main -s 2048
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_FEATURES),y)
|
||||
LDFLAGS += -g
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user