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

Re: [UNIKRAFT PATCH] lib/syscall_shim: Provide 'print-syscalls' build target



Reviewed-by: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>

> On 18 May 2020, at 16:37, Simon Kuenzer <simon.kuenzer@xxxxxxxxx> wrote:
> 
> Provides 'print-syscalls' target that lists currently activated
> system calls.
> 
> Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
> ---
> lib/syscall_shim/Makefile.rules | 9 +++++++++
> 1 file changed, 9 insertions(+)
> create mode 100644 lib/syscall_shim/Makefile.rules
> 
> diff --git a/lib/syscall_shim/Makefile.rules b/lib/syscall_shim/Makefile.rules
> new file mode 100644
> index 00000000..386ff9fe
> --- /dev/null
> +++ b/lib/syscall_shim/Makefile.rules
> @@ -0,0 +1,9 @@
> +.PHONY: print-syscalls
> +
> +ifeq ($(UK_HAVE_DOT_CONFIG),y)
> +print-syscalls:
> +     @echo $(UK_PROVIDED_SYSCALLS-y) $(UK_PROVIDED_SYSCALLS)
> +else
> +print-syscalls:
> +     $(error Do not have a configuration. Please run one of the 
> configuration targets first)
> +endif
> -- 
> 2.20.1
> 
> 




 


Rackspace

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