diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-28 12:09:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-28 12:09:49 -0600 |
commit | 397298da8d61a5887b15fc9c53206e11821a92d8 (patch) | |
tree | 90d6802a2b459c69323a95f3e4a392d5b1b90562 /nuttx/Makefile.win | |
parent | d6c088a4acc3cb6fddc40740c2da8c5b27adc244 (diff) | |
download | px4-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.win')
-rw-r--r-- | nuttx/Makefile.win | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/nuttx/Makefile.win b/nuttx/Makefile.win index 91aec195e..bc9cfcf58 100644 --- a/nuttx/Makefile.win +++ b/nuttx/Makefile.win @@ -112,9 +112,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 @@ -122,7 +120,7 @@ endif else NONFSDIRS += libc mm -OTHERDIRS += syscall $(USER_ADDONS) +OTHERDIRS += $(USER_ADDONS) ifeq ($(CONFIG_HAVE_CXX),y) NONFSDIRS += libxx else @@ -131,6 +129,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 |