[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UNIKRAFT PATCH] lib/syscall_shim: Include processing of $(UK_PROVIDED_SYSCALLS)



Equivalent to the Unikraft build variables scheme we include
$(UK_PROVIDED_SYSCALLS) as another variable to define the list of
system calls. So far $(UK_PROVIDED_SYSCALLS-y) was used only.

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
 lib/syscall_shim/Makefile.uk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/syscall_shim/Makefile.uk b/lib/syscall_shim/Makefile.uk
index b758f830..37805c82 100644
--- a/lib/syscall_shim/Makefile.uk
+++ b/lib/syscall_shim/Makefile.uk
@@ -89,7 +89,7 @@ $(LIBSYSCALL_SHIM_BUILD)/libc_stubs.c: 
$(LIBSYSCALL_SHIM_BASE)/gen_libc_stubs.aw
 
 $(LIBSYSCALL_SHIM_BUILD)/provided_syscalls.h.in.new:
        $(call build_cmd,GEN,libsyscall_shim,$(notdir $@), \
-               echo $(UK_PROVIDED_SYSCALLS-y) | tr ' ' '\n' > $@)
+               echo $(UK_PROVIDED_SYSCALLS-y) $(UK_PROVIDED_SYSCALLS) | tr ' ' 
'\n' > $@)
 
 $(LIBSYSCALL_SHIM_INCLUDES_PATH)/syscall_stubs.h.new: 
$(LIBSYSCALL_SHIM_BASE)/gen_stubs.awk $(LIBSYSCALL_SHIM_TEMPL)
        $(call build_cmd,GEN,libsyscall_shim,$(notdir $@), \
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.