From 9e72fe9fab8f080cda13a70bfc185054dd9f6bbb Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 1 Nov 2022 15:50:41 +0800 Subject: [PATCH] libc/spawn: Always build lib_psa_[get|set]stacksize.c instead of lib_psa_[get|set]stackaddr.c since the later doesn't exist in kernel mode regression by: commit b9b032af722d9812790b379590c1da154a8be748 Author: Xiang Xiao Date: Thu Oct 20 03:10:23 2022 +0800 sched/spawn: Support task_spawnattr_[set|get]stacksize in kernel mode Signed-off-by: Xiang Xiao --- libs/libc/spawn/Make.defs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libc/spawn/Make.defs b/libs/libc/spawn/Make.defs index 55538890d7..3ac9b5bfa3 100644 --- a/libs/libc/spawn/Make.defs +++ b/libs/libc/spawn/Make.defs @@ -26,10 +26,10 @@ CSRCS += lib_psfa_addopen.c lib_psfa_destroy.c lib_psfa_init.c CSRCS += lib_psa_getflags.c lib_psa_getschedparam.c lib_psa_getschedpolicy.c CSRCS += lib_psa_init.c lib_psa_setflags.c lib_psa_setschedparam.c CSRCS += lib_psa_setschedpolicy.c lib_psa_getsigmask.c lib_psa_setsigmask.c -CSRCS += lib_psa_getstackaddr.c lib_psa_setstackaddr.c +CSRCS += lib_psa_getstacksize.c lib_psa_setstacksize.c ifneq ($(CONFIG_BUILD_KERNEL),y) -CSRCS += lib_psa_getstacksize.c lib_psa_setstacksize.c +CSRCS += lib_psa_getstackaddr.c lib_psa_setstackaddr.c endif ifeq ($(CONFIG_DEBUG_FEATURES),y)