From: kfraser@localhost.localdomain Date: Wed, 17 Jan 2007 16:42:34 +0000 (+0000) Subject: Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15396^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9d15d8d54a82cc665b83e98ecb03ef68e123f718;p=xen.git Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not specified on the command line. Signed-off-by: Keir Fraser --- diff --git a/Makefile b/Makefile index c7004c0ae2..cac9547a3d 100644 --- a/Makefile +++ b/Makefile @@ -2,18 +2,15 @@ # Grand Unified Makefile for Xen. # -# Export target architecture overrides to Xen and Linux sub-trees. -ifneq ($(XEN_TARGET_ARCH),) -SUBARCH := $(subst x86_32,i386,$(XEN_TARGET_ARCH)) -export XEN_TARGET_ARCH SUBARCH XEN_SYSTYPE -endif - # Default target must appear before any include lines .PHONY: all all: dist export XEN_ROOT=$(CURDIR) include Config.mk + +SUBARCH := $(subst x86_32,i386,$(XEN_TARGET_ARCH)) +export XEN_TARGET_ARCH SUBARCH XEN_SYSTYPE include buildconfigs/Rules.mk ifeq ($(XEN_TARGET_X86_PAE),y)