[CRIU] [PATCH 02/11] make: Export @ARCH and @SRCARCH
Christopher Covington
cov at codeaurora.org
Wed Apr 22 14:40:36 PDT 2015
On 04/22/2015 01:19 PM, Cyrill Gorcunov wrote:
> We will need them for x86-32.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 29f1d5b683fb..6e6efb290823 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -84,6 +84,8 @@ LDARCH ?= $(SRCARCH)
> SRC_DIR ?= $(CURDIR)
> ARCH_DIR := arch/$(SRCARCH)
>
> +export ARCH SRCARCH
> +
> $(if $(wildcard $(ARCH_DIR)),,$(error "The architecture $(ARCH) isn't supported"))
>
> cflags-y += -iquote include -iquote pie -iquote .
>
Why do you need to export ARCH? Is SRCARCH not unique enough?
Thanks,
Chris
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the CRIU
mailing list