Fix syscall library selection in top-level Makefiles
This commit is contained in:
parent
9200191b5c
commit
7088c9a5c7
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user