[CRIU] [PATCHv3 3/3] x86/build: use msg-gen function

Cyrill Gorcunov gorcunov at gmail.com
Thu Feb 18 01:40:42 PST 2016


On Thu, Feb 18, 2016 at 12:36:06PM +0300, Dmitry Safonov wrote:
> Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
> ---
>  criu/arch/x86/Makefile.syscalls | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/criu/arch/x86/Makefile.syscalls b/criu/arch/x86/Makefile.syscalls
> index 2484179..1e4af8e 100644
> --- a/criu/arch/x86/Makefile.syscalls
> +++ b/criu/arch/x86/Makefile.syscalls
> @@ -1,3 +1,4 @@
> +include $(__nmk_dir)/msg.mk
>  builtin-name		:= syscalls.built-in.o
>  
>  SYS-TYPES		:= ../../include/syscall-types.h
> @@ -24,7 +25,7 @@ SYS-ASM			:= syscalls.S
>  obj-y			+= $(SYS-ASM:.S=).o
>  
>  $(obj)/$(SYS-CODES): $(obj)/syscalls/$(SYS-DEF)
> -	$(E) "  GEN     " $@
> +	$(call msg-gen $@)

$@ must be an argument, IOW you missed the ","

	$(call msg-gen, $@)


More information about the CRIU mailing list