ia64/xen-unstable
changeset 13463:dd0989523d17
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>
specified on the command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Wed Jan 17 16:42:34 2007 +0000 (2007-01-17) |
parents | 6d832b092857 |
children | 26c75e0e48ed 05c1db1b8cb9 |
files | Makefile |
line diff
1.1 --- a/Makefile Wed Jan 17 15:41:39 2007 +0000 1.2 +++ b/Makefile Wed Jan 17 16:42:34 2007 +0000 1.3 @@ -2,18 +2,15 @@ 1.4 # Grand Unified Makefile for Xen. 1.5 # 1.6 1.7 -# Export target architecture overrides to Xen and Linux sub-trees. 1.8 -ifneq ($(XEN_TARGET_ARCH),) 1.9 -SUBARCH := $(subst x86_32,i386,$(XEN_TARGET_ARCH)) 1.10 -export XEN_TARGET_ARCH SUBARCH XEN_SYSTYPE 1.11 -endif 1.12 - 1.13 # Default target must appear before any include lines 1.14 .PHONY: all 1.15 all: dist 1.16 1.17 export XEN_ROOT=$(CURDIR) 1.18 include Config.mk 1.19 + 1.20 +SUBARCH := $(subst x86_32,i386,$(XEN_TARGET_ARCH)) 1.21 +export XEN_TARGET_ARCH SUBARCH XEN_SYSTYPE 1.22 include buildconfigs/Rules.mk 1.23 1.24 ifeq ($(XEN_TARGET_X86_PAE),y)