Fix syscall library selection in top-level Makefiles

This commit is contained in:
Gregory Nutt 2014-08-28 15:49:24 -06:00
parent 9200191b5c
commit 7088c9a5c7
2 changed files with 6 additions and 0 deletions

View File

@ -226,6 +226,9 @@ USERLIBS += lib/libproxies$(LIBEXT) lib/libuc$(LIBEXT) lib/libumm$(LIBEXT)
USERLIBS += lib/libuarch$(LIBEXT)
else
NUTTXLIBS += lib/libc$(LIBEXT) lib/libmm$(LIBEXT) lib/libarch$(LIBEXT)
ifeq ($(CONFIG_LIB_SYSCALL),y)
NUTTXLIBS += lib/libstubs$(LIBEXT) lib/libproxies$(LIBEXT)
endif
endif
# Add libraries for C++ support. CXX, CXXFLAGS, and COMPILEXX must

View File

@ -219,6 +219,9 @@ USERLIBS += lib\libproxies$(LIBEXT) lib\libuc$(LIBEXT) lib\libumm$(LIBEXT)
USERLIBS += lib\libuarch$(LIBEXT)
else
NUTTXLIBS += lib\libc$(LIBEXT) lib\libmm$(LIBEXT) lib\libarch$(LIBEXT)
ifeq ($(CONFIG_LIB_SYSCALL),y)
NUTTXLIBS += lib/libstubs$(LIBEXT) lib/libproxies$(LIBEXT)
endif
endif
# Add libraries for C++ support. CXX, CXXFLAGS, and COMPILEXX must