tools: Missed a couple of changes of libcxx to libxx.
This commit is contained in:
parent
4697a74cc7
commit
a0c663edc9
@ -22,4 +22,12 @@ creatures. The have these properties:
|
||||
nxsem_wait() must be used. Within libraries, the macro _SEM_WAIT()
|
||||
(as defined in include/nuttx/semaphore.h) is used instead. The
|
||||
definition of this macro accounts for the different usage environments.
|
||||
|
||||
|
||||
NOTE: The libraries under libs/ build differently from other NuttX
|
||||
components: There are no build-related files in the libs/ directory; it
|
||||
is simply a container for other well-known, individual library directories.
|
||||
The upper level Makefile logic is aware of the libraries within the libs/
|
||||
container.
|
||||
|
||||
The only real function of the libs/ directory is to prevent the top-level
|
||||
directory from becoming cluttered with individual libraries.
|
||||
|
@ -69,7 +69,7 @@ endif
|
||||
# be defined in Make.defs for this to work!
|
||||
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
NUTTXLIBS += staging$(DELIM)libcxx$(LIBEXT)
|
||||
NUTTXLIBS += staging$(DELIM)$(LIBXX)$(LIBEXT)
|
||||
endif
|
||||
|
||||
# Add library for application support.
|
||||
@ -124,7 +124,7 @@ endif
|
||||
# Add C++ library
|
||||
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
NUTTXLIBS += staging$(DELIM)libcxx$(LIBEXT)
|
||||
NUTTXLIBS += staging$(DELIM)$(LIBXX)$(LIBEXT)
|
||||
endif
|
||||
|
||||
# Export all libraries
|
||||
|
@ -68,7 +68,7 @@ USERLIBS += staging$(DELIM)libumm$(LIBEXT) staging$(DELIM)libuarch$(LIBEXT)
|
||||
# be defined in Make.defs for this to work!
|
||||
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
USERLIBS += staging$(DELIM)libcxx$(LIBEXT)
|
||||
USERLIBS += staging$(DELIM)$(LIBXX)$(LIBEXT)
|
||||
endif
|
||||
|
||||
# Add libraries for network support
|
||||
@ -119,7 +119,7 @@ endif
|
||||
# Add C++ library
|
||||
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
NUTTXLIBS += staging$(DELIM)libcxx$(LIBEXT)
|
||||
NUTTXLIBS += staging$(DELIM)$(LIBXX)$(LIBEXT)
|
||||
endif
|
||||
|
||||
# Export only the user libraries
|
||||
|
@ -69,7 +69,7 @@ USERLIBS += staging$(DELIM)libumm$(LIBEXT) staging$(DELIM)libuarch$(LIBEXT)
|
||||
# be defined in Make.defs for this to work!
|
||||
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
USERLIBS += staging$(DELIM)libcxx$(LIBEXT)
|
||||
USERLIBS += staging$(DELIM)$(LIBXX)$(LIBEXT)
|
||||
endif
|
||||
|
||||
# Add library for application support.
|
||||
@ -126,7 +126,7 @@ endif
|
||||
# Add C++ library
|
||||
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
NUTTXLIBS += staging$(DELIM)libcxx$(LIBEXT)
|
||||
NUTTXLIBS += staging$(DELIM)$(LIBXX)$(LIBEXT)
|
||||
endif
|
||||
|
||||
# Export only the user libraries
|
||||
|
@ -955,7 +955,7 @@ if __name__ == '__main__':
|
||||
lib_prj.make_src_nodes(group_src_list)
|
||||
lib_prj.make_include(group_src_list)
|
||||
lib_prj.make_output_dir(lib_name)
|
||||
if lib_name == 'libcxx':
|
||||
if lib_name == 'libxx' or lib_name == 'libcxx':
|
||||
lib_prj.add_misc('cxx_misc')
|
||||
lib_prj.add_define('cxx_def', 'CONFIG_WCHAR_BUILTIN')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user