mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 01:34:58 +08:00
boards: Move the C/C++ search path to the common place
so all boards support uClibc++/libc++ automatically Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ibe6fafbec57f7acb26ea6188a3e9923ea82295c5
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
6abd03d53f
commit
d32e9c38df
@@ -39,12 +39,6 @@ include $(TOPDIR)/arch/arm/src/armv7-a/Toolchain.defs
|
||||
|
||||
LDSCRIPT = sdram.ld
|
||||
|
||||
CINCPATH := ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include}
|
||||
CXXINCPATH := ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include$(DELIM)cxx}
|
||||
|
||||
ARCHINCLUDES += $(CINCPATH)
|
||||
ARCHXXINCLUDES += $(CINCPATH) $(CXXINCPATH)
|
||||
|
||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||
ARCHSCRIPT = -T "${shell cygpath -w $(BOARD_DIR)$(DELIM)scripts$(DELIM)$(LDSCRIPT)}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user