aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-05-23 15:22:15 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-05-23 15:22:15 +0000
commitdad197b071e41ba1a969fe10fc6fda20d5b46fef (patch)
tree64e342bc4b2768908bcd4aeb993ccde6cf10512d /xen/Rules.mk
parent83bd20f0d6cb766766bc9c26bd4106f7f5ac92c3 (diff)
downloadxen-dad197b071e41ba1a969fe10fc6fda20d5b46fef.tar.gz
xen-dad197b071e41ba1a969fe10fc6fda20d5b46fef.tar.bz2
xen-dad197b071e41ba1a969fe10fc6fda20d5b46fef.zip
bitkeeper revision 1.1513 (4291f527HzSV5MgVTL5ZpTs61-VQvg)
mk.linux-2.6-xenU, mk.linux-2.6-xen0, Rules.mk, Config.mk: Move {COMPILE,TARGET}_{,SUB}ARCH} definition into xen/Rules.mk. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 1db12a3d0d..221882814a 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -10,6 +10,12 @@ crash_debug ?= n
include $(BASEDIR)/../Config.mk
+# Set ARCH/SUBARCH appropriately.
+override COMPILE_SUBARCH := $(XEN_COMPILE_ARCH)
+override TARGET_SUBARCH := $(XEN_TARGET_ARCH)
+override COMPILE_ARCH := $(patsubst x86%,x86,$(XEN_COMPILE_ARCH))
+override TARGET_ARCH := $(patsubst x86%,x86,$(XEN_TARGET_ARCH))
+
TARGET := $(BASEDIR)/xen
HDRS := $(wildcard $(BASEDIR)/include/xen/*.h)
HDRS += $(wildcard $(BASEDIR)/include/public/*.h)