From: Sergiu Moga Date: Thu, 12 Aug 2021 11:54:50 +0000 (+0300) Subject: Makefile.uk: Remove conflicting `sched_yield.c` from build process X-Git-Tag: RELEASE-0.6^0 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a7fe8c3d0a47fbad6e4e7d6d1c7d7a8f9042f0c1;p=unikraft%2Flibs%2Fpthread-embedded.git Makefile.uk: Remove conflicting `sched_yield.c` from build process This commit removes the conflicting function definition for `sched_yield` located inside the extracted `sched_yield.c` by removing the source file from the build process. Signed-off-by: Sergiu Moga Tested-by: Unikraft CI GitHub-Pull-Request: #1 --- diff --git a/Makefile.uk b/Makefile.uk index 1ab7c6a..da0020d 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -186,7 +186,6 @@ LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_EXTRACTED)/pthread_timechang LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_EXTRACTED)/sched_get_priority_max.c LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_EXTRACTED)/sched_get_priority_min.c LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_EXTRACTED)/sched_setscheduler.c -LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_EXTRACTED)/sched_yield.c LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_EXTRACTED)/sem_close.c LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_EXTRACTED)/sem_destroy.c LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_EXTRACTED)/sem_getvalue.c