mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
libs/libc: fix build break on kernel mode
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -32,13 +32,12 @@ ifeq ($(CONFIG_SMP),y)
|
||||
CSRCS += sched_cpucount.c
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_BUILD_KERNEL),y)
|
||||
CSRCS += task_startup.c
|
||||
|
||||
ifeq ($(CONFIG_SCHED_BACKTRACE),y)
|
||||
CSRCS += sched_dumpstack.c sched_backtrace.c
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_BUILD_KERNEL),y)
|
||||
CSRCS += task_startup.c
|
||||
endif # CONFIG_BUILD_KERNEL
|
||||
|
||||
# Add the sched directory to the build
|
||||
|
||||
Reference in New Issue
Block a user