From: Alexander Jung Date: Tue, 11 Aug 2020 16:27:23 +0000 (+0200) Subject: Makefile.uk: Include unix basename and dirname X-Git-Tag: RELEASE-0.5~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=318e8c49d0d9c9318f610657af9e098139cd8343;p=unikraft%2Flibs%2Fnewlib.git Makefile.uk: Include unix basename and dirname This commit adds basename() and dirname() into the newlib build for Unikraft. Both functions have only dependencies to making them easily compatible. Signed-off-by: Alexander Jung Reviewed-by: Razvan Virtan --- diff --git a/Makefile.uk b/Makefile.uk index 82836e4..f1cdf7a 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -860,6 +860,12 @@ LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/tzset_r.c LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/tzvars.c LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/time/wcsftime.c +################################################################################ +# Newlib/libc code -- unix +################################################################################ +LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/unix/basename.c +LIBNEWLIBC_SRCS-y += $(LIBNEWLIB_LIBC)/unix/dirname.c + ################################################################################ # Newlib/libc code -- setjmp, longjmp ################################################################################