aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-17 16:42:34 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-17 16:42:34 +0000
commit9d15d8d54a82cc665b83e98ecb03ef68e123f718 (patch)
tree7af1e95268204a7a7db83c1cd61d6b4f2cc3dbfa /Makefile
parentcc1ecba9d6c3894a4ebb35c920a9a1348d3ac8e5 (diff)
downloadxen-9d15d8d54a82cc665b83e98ecb03ef68e123f718.tar.gz
xen-9d15d8d54a82cc665b83e98ecb03ef68e123f718.tar.bz2
xen-9d15d8d54a82cc665b83e98ecb03ef68e123f718.zip
Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not
specified on the command line. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
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)