[CRIU] [PATCH 2/2] build: Don't call for compel execution on clean targets
Dmitry Safonov
dsafonov at virtuozzo.com
Fri May 6 04:14:29 PDT 2016
On 05/06/2016 02:10 PM, Cyrill Gorcunov wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
I've got the same patch in my cooking-branch :)
We may also move compel remove downer in mrproper target,
and I was doubting what would be the right thing to do.
But finally stoped at the same solution.
Reviewed-by: Dmitry Safonov <dsafonov at virtuozzo.com>
> ---
> criu/pie/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/criu/pie/Makefile b/criu/pie/Makefile
> index a32047b973b9..4adec495fe74 100644
> --- a/criu/pie/Makefile
> +++ b/criu/pie/Makefile
> @@ -46,7 +46,9 @@ CFLAGS += -iquote arch/$(ARCH)/include -iquote $(SRC_DIR)
> CFLAGS += -iquote $(SRC_DIR)/criu/include
>
> ccflags-y += -DCR_NOGLIBC
> +ifneq ($(filter-out clean mrproper,$(MAKECMDGOALS)),)
> NATIVE_CFLAGS := $(shell $(SRC_DIR)/compel/compel --arch=$(ARCH) cflags)
> +endif
>
> ifeq ($(ARCH),x86)
> NATIVE_CFLAGS += -DCONFIG_X86_64
>
--
Regards,
Dmitry Safonov
More information about the CRIU
mailing list