forked from xuos/xiuos
transplant development board of gd32vf103_rvstar
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <user_api.h>
|
||||
// #include <user_api.h>
|
||||
#include <transform.h>
|
||||
|
||||
extern int FrameworkInit();
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
SRC_FILES := pthread.c semaphore.c pthread_mutex.c mqueue.c
|
||||
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
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
Reference in New Issue
Block a user