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:
Xiang Xiao 2022-05-15 12:39:42 +08:00 committed by Petro Karashchenko
parent 1c977e97d2
commit f5dd839879
10 changed files with 0 additions and 56 deletions

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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