cmake: fix build after c33d1c9c97 (vfork -> fork)
This commit is contained in:
parent
4ffd2cc84c
commit
ad6361f0cc
@ -40,8 +40,8 @@ set(SRCS
|
||||
arm_stackframe.c
|
||||
arm_switchcontext.c
|
||||
arm_usestack.c
|
||||
arm_vfork.c
|
||||
${ARCH_TOOLCHAIN_PATH}/vfork.S)
|
||||
arm_fork.c
|
||||
${ARCH_TOOLCHAIN_PATH}/fork.S)
|
||||
|
||||
if(NOT CONFIG_ALARM_ARCH AND NOT CONFIG_TIMER_ARCH)
|
||||
list(APPEND SRCS arm_mdelay.c arm_udelay.c)
|
||||
|
@ -55,24 +55,24 @@ list(
|
||||
|
||||
if(CONFIG_HOST_X86_64)
|
||||
if(CONFIG_SIM_M32)
|
||||
list(APPEND SRCS sim_vfork_x86.S)
|
||||
list(APPEND SRCS sim_fork_x86.S)
|
||||
else()
|
||||
list(APPEND SRCS sim_vfork_x86_64.S)
|
||||
list(APPEND SRCS sim_fork_x86_64.S)
|
||||
endif()
|
||||
elseif(CONFIG_HOST_X86)
|
||||
list(APPEND SRCS sim_vfork_x86.S)
|
||||
list(APPEND SRCS sim_fork_x86.S)
|
||||
elseif(CONFIG_HOST_ARM)
|
||||
list(APPEND SRCS sim_vfork_arm.S)
|
||||
list(APPEND SRCS sim_fork_arm.S)
|
||||
elseif(CONFIG_HOST_ARM64)
|
||||
list(APPEND SRCS sim_vfork_arm64.S)
|
||||
list(APPEND SRCS sim_fork_arm64.S)
|
||||
endif()
|
||||
|
||||
if(CONFIG_SCHED_BACKTRACE)
|
||||
list(APPEND SRCS sim_backtrace.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ARCH_HAVE_VFORK AND CONFIG_SCHED_WAITPID)
|
||||
list(APPEND SRCS sim_vfork.c)
|
||||
if(CONFIG_ARCH_HAVE_FORK AND CONFIG_SCHED_WAITPID)
|
||||
list(APPEND SRCS sim_fork.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ONESHOT)
|
||||
|
@ -48,9 +48,9 @@ if(CONFIG_SCHED_HAVE_PARENT)
|
||||
list(APPEND SRCS task_getppid.c task_reparent.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ARCH_HAVE_VFORK)
|
||||
if(CONFIG_ARCH_HAVE_FORK)
|
||||
if(CONFIG_SCHED_WAITPID)
|
||||
list(APPEND SRCS task_vfork.c)
|
||||
list(APPEND SRCS task_fork.c)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user