summaryrefslogtreecommitdiff
path: root/nuttx/KernelLibs.mk
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-04 11:43:41 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-04 11:43:41 -0600
commit8c6bc7f728b9d8709de364c37a24f0b5a469f966 (patch)
tree106bb9e82485b348f092ca04e600a5fd425a459c /nuttx/KernelLibs.mk
parentc65cf8f41137bb71d92c82a130ba4d649929478a (diff)
downloadnuttx-8c6bc7f728b9d8709de364c37a24f0b5a469f966.tar.gz
nuttx-8c6bc7f728b9d8709de364c37a24f0b5a469f966.tar.bz2
nuttx-8c6bc7f728b9d8709de364c37a24f0b5a469f966.zip
In the kernel build, only the user libraries should be exported.
Diffstat (limited to 'nuttx/KernelLibs.mk')
-rw-r--r--nuttx/KernelLibs.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/KernelLibs.mk b/nuttx/KernelLibs.mk
index 8d7c35920..2f1870493 100644
--- a/nuttx/KernelLibs.mk
+++ b/nuttx/KernelLibs.mk
@@ -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 =
@@ -97,3 +99,7 @@ endif
ifeq ($(CONFIG_AUDIO),y)
NUTTXLIBS += lib$(DELIM)libaudio$(LIBEXT)
endif
+
+# Export only the user libraries
+
+EXPORTLIBS = $(USERLIBS)