mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
In the kernel build, only the user libraries should be exported.
This commit is contained in:
@@ -39,6 +39,8 @@
|
||||
# is disabled.
|
||||
# USERLIBS is the list of libraries used to build the final user-space
|
||||
# application
|
||||
# EXPORTLIBS is the list of libraries that should be exported by
|
||||
# 'make export' is
|
||||
|
||||
NUTTXLIBS = lib$(DELIM)libsched$(LIBEXT)
|
||||
USERLIBS =
|
||||
@@ -107,3 +109,7 @@ endif
|
||||
ifeq ($(CONFIG_AUDIO),y)
|
||||
NUTTXLIBS += lib$(DELIM)libaudio$(LIBEXT)
|
||||
endif
|
||||
|
||||
# Export only the user libraries
|
||||
|
||||
EXPORTLIBS = $(USERLIBS)
|
||||
|
||||
Reference in New Issue
Block a user