forked from xuos/xiuos
add nuttx for develop
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
SRC_DIR := switch_api posix_support
|
||||
SRC_DIR := posix_support
|
||||
|
||||
# # ifeq ($(CONFIG_SEPARATE_COMPILE),y)
|
||||
# SRC_DIR += switch_api
|
||||
# # endif
|
||||
ifeq ($(CONFIG_SEPARATE_COMPILE),y)
|
||||
SRC_DIR += switch_api
|
||||
endif
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
@@ -1,4 +0,0 @@
|
||||
config POSIX_API
|
||||
bool "support posix api"
|
||||
default n
|
||||
|
||||
@@ -1,21 +1,3 @@
|
||||
# ifeq ($(CONFIG_POSIX_API),y)
|
||||
# SRC_FILES += pthread.c
|
||||
|
||||
# ifeq ($(CONFIG_KERNEL_SEMAPHORE),y)
|
||||
# SRC_FILES += semaphore.c
|
||||
# endif
|
||||
|
||||
# ifeq ($(CONFIG_KERNEL_MUTEX),y)
|
||||
# SRC_FILES += pthread_mutex.c
|
||||
# endif
|
||||
|
||||
# ifeq ($(CONFIG_KERNEL_MESSAGEQUEUE),y)
|
||||
# SRC_FILES += mqueue.c
|
||||
# endif
|
||||
# else
|
||||
# SRC_FILES :=
|
||||
# endif
|
||||
|
||||
SRC_FILES := pthread.c semaphore.c pthread_mutex.c mqueue.c
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user