xiaoxiang781216 commented on code in PR #3673:
URL: https://github.com/apache/nuttx-apps/pull/3673#discussion_r3695679753


##########
testing/ostest/Makefile:
##########
@@ -144,10 +144,21 @@ CSRCS += sigev_thread.c
 endif
 endif
 
-ifeq ($(CONFIG_ARCH_HAVE_FORK),y)
-ifeq ($(CONFIG_SCHED_WAITPID),y)
+# Each test is built where the primitive it tests exists.  See ostest.h for the
+# one transitional exception.
+
+ifeq ($(CONFIG_TASK_FORK),y)
+CSRCS += task_fork.c
+else ifeq ($(CONFIG_ARCH_HAVE_FORK)$(CONFIG_ARCH_HAVE_TASK_FORK),y)
+CSRCS += task_fork.c
+endif
+
+ifeq ($(CONFIG_ARCH_HAVE_VFORK),y)
 CSRCS += vfork.c
 endif
+
+ifeq ($(CONFIG_ARCH_HAVE_FORK)$(CONFIG_ARCH_HAVE_VFORK),yy)

Review Comment:
   it's better to optimize the size of lm3s6965-ek:qemu-protected to pass the 
ci instead.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to