When `LIB_POSIX_SYSINFO` is selected, the build fails
when using musl with an undefined reference to `uname`.
This commit removes the uname sources dependency of
the selection of `LIB_POSIX_SYSINFO`.
Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #18
LIBMUSL_MISC_SRCS-y += $(LIBMUSL)/src/misc/setrlimit.c
#LIBMUSL_MISC_SRCS-y += $(LIBMUSL)/src/misc/syscall.c|misc
LIBMUSL_MISC_SRCS-y += $(LIBMUSL)/src/misc/syslog.c
-ifneq ($(CONFIG_LIBPOSIX_SYSINFO),y)
LIBMUSL_MISC_SRCS-y += $(LIBMUSL)/src/misc/uname.c
-endif
#LIBMUSL_MISC_SRCS-y += $(LIBMUSL)/src/misc/wordexp.c
$(eval $(call _libmusl_import_lib,misc,$(LIBMUSL_MISC_HDRS-y),$(LIBMUSL_MISC_SRCS-y)))