The system call library can now be built with CONFIG_NUTTX_KERNEL. New select: CONFIG_LIB_SYSCALL

This commit is contained in:
Gregory Nutt
2014-08-28 12:09:49 -06:00
parent 660e939d0c
commit 7a81bce7b1
8 changed files with 84 additions and 35 deletions
+10 -4
View File
@@ -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