mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
criu/build: include msg.mk in files that use msg-*
This patch fixes accidental dropping of msg-gen, msg-link messages. Just run make with another warn enabled: [criu]$ make --warn-undefined-variable 2>&1 | grep msg PBCC images/ipc-msg.pb-c.c DEP images/ipc-msg.pb-c.d CC images/ipc-msg.o Makefile.config:17: warning: undefined variable 'msg-gen' Makefile.version:20: warning: undefined variable 'msg-gen' Makefile:120: warning: undefined variable 'msg-link' Makefile:149: warning: undefined variable 'msg-link' Makefile:15: warning: undefined variable 'msg-gen' Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
5f6c2eb92c
commit
e6b26e73bc
@@ -84,6 +84,9 @@ ifneq ($(filter ia32 x86 ppc64,$(ARCH)),)
|
||||
endif
|
||||
endif
|
||||
|
||||
# msg-* printing
|
||||
include $(__nmk_dir)/msg.mk
|
||||
|
||||
#
|
||||
# Version header file.
|
||||
include Makefile.version
|
||||
|
@@ -1,4 +1,5 @@
|
||||
include $(__nmk_dir)/utils.mk
|
||||
include $(__nmk_dir)msg.mk
|
||||
include ../scripts/feature-tests.mak
|
||||
|
||||
CONFIG_HEADER := include/config.h
|
||||
|
@@ -1,3 +1,5 @@
|
||||
include $(__nmk_dir)msg.mk
|
||||
|
||||
CRTOOLSVERSION := $(VERSION_MAJOR)$(if $(VERSION_MINOR),.$(VERSION_MINOR))$(if $(VERSION_SUBLEVEL),.$(VERSION_SUBLEVEL))
|
||||
VERSION_HEADER := include/version.h
|
||||
GITID_FILE := ../.gitid
|
||||
|
@@ -1,3 +1,4 @@
|
||||
include $(__nmk_dir)msg.mk
|
||||
all: pb.py images magic.py
|
||||
|
||||
.PHONY: all images clean pb.py
|
||||
|
Reference in New Issue
Block a user