build: Move the toolchain library setting to the common place

so all boards support C++ automatically
This commit is contained in:
Xiang Xiao
2020-07-15 20:51:26 +08:00
committed by Alan Carvalho de Assis
parent f5311de6b4
commit 4910d43ab0
36 changed files with 301 additions and 85 deletions
-4
View File
@@ -74,10 +74,6 @@ BOARDDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src/board
VPATH = chip:common:board
# Libraries
LIBGCC = ${shell "$(CC)" $(ARCHCPUFLAGS) -print-libgcc-file-name}
# Targets
all: $(HEAD_OBJ) libarch$(LIBEXT)
-4
View File
@@ -74,10 +74,6 @@ BOARDDIR = $(TOPDIR)\arch\$(CONFIG_ARCH)\src\board
VPATH = chip:common:board
# Libraries
LIBGCC = ${shell "$(CC)" $(ARCHCPUFLAGS) -print-libgcc-file-name}
# Targets
all: $(HEAD_OBJ) libarch$(LIBEXT)