summaryrefslogtreecommitdiff
path: root/nuttx/Makefile.unix
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-28 12:09:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-28 12:09:49 -0600
commit397298da8d61a5887b15fc9c53206e11821a92d8 (patch)
tree90d6802a2b459c69323a95f3e4a392d5b1b90562 /nuttx/Makefile.unix
parentd6c088a4acc3cb6fddc40740c2da8c5b27adc244 (diff)
downloadpx4-nuttx-397298da8d61a5887b15fc9c53206e11821a92d8.tar.gz
px4-nuttx-397298da8d61a5887b15fc9c53206e11821a92d8.tar.bz2
px4-nuttx-397298da8d61a5887b15fc9c53206e11821a92d8.zip
The system call library can now be built with CONFIG_NUTTX_KERNEL. New select: CONFIG_LIB_SYSCALL
Diffstat (limited to 'nuttx/Makefile.unix')
-rw-r--r--nuttx/Makefile.unix14
1 files changed, 10 insertions, 4 deletions
diff --git a/nuttx/Makefile.unix b/nuttx/Makefile.unix
index b0e7cca7b..ec662a694 100644
--- a/nuttx/Makefile.unix
+++ b/nuttx/Makefile.unix
@@ -119,9 +119,7 @@ OTHERDIRS = lib
ifeq ($(CONFIG_NUTTX_KERNEL),y)
-NONFSDIRS += syscall
-CONTEXTDIRS += syscall
-USERDIRS += syscall libc mm $(USER_ADDONS)
+USERDIRS += libc mm $(USER_ADDONS)
ifeq ($(CONFIG_HAVE_CXX),y)
USERDIRS += libxx
endif
@@ -129,7 +127,7 @@ endif
else
NONFSDIRS += libc mm
-OTHERDIRS += syscall $(USER_ADDONS)
+OTHERDIRS += $(USER_ADDONS)
ifeq ($(CONFIG_HAVE_CXX),y)
NONFSDIRS += libxx
else
@@ -138,6 +136,14 @@ endif
endif
+ifeq ($(CONFIG_LIB_SYSCALL),y)
+NONFSDIRS += syscall
+CONTEXTDIRS += syscall
+USERDIRS += syscall
+else
+OTHERDIRS += syscall
+endif
+
ifeq ($(CONFIG_NX),y)
NONFSDIRS += graphics libnx
CONTEXTDIRS += graphics libnx