[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1169052154 0
# Node ID dd0989523d1700825a9feea3895811cec3c41bfa
# Parent  6d832b092857c25cfee17d66a186c19a8d372ebe
Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not
specified on the command line.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 Makefile |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff -r 6d832b092857 -r dd0989523d17 Makefile
--- a/Makefile  Wed Jan 17 15:41:39 2007 +0000
+++ b/Makefile  Wed Jan 17 16:42:34 2007 +0000
@@ -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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.