aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Rules.mk
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-01-27 13:44:41 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-01-27 13:44:41 +0000
commit04ce93fe81e83a89a74770bff096e12f4b1b411a (patch)
tree83349c0443288ee68bc7970e3758c411eebdec33 /tools/Rules.mk
parent2f34aafbb609ff31be3fd880538c65ee78e379f0 (diff)
downloadxen-04ce93fe81e83a89a74770bff096e12f4b1b411a.tar.gz
xen-04ce93fe81e83a89a74770bff096e12f4b1b411a.tar.bz2
xen-04ce93fe81e83a89a74770bff096e12f4b1b411a.zip
bitkeeper revision 1.1159.223.45 (41f8f049ZJjSGVQ7S0Y7kGBwMIZfZQ)
No longer override target arch with ARCH but instead use TARGET_ARCH. Xen now requires specification of TARGET_ARCH alone, not TARGET_ARCH and TARGET_SUBARCH. Xen derives correct internal ARCH/SUBARCH components automatically.
Diffstat (limited to 'tools/Rules.mk')
-rw-r--r--tools/Rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Rules.mk b/tools/Rules.mk
index 2876c7eb61..2666f43842 100644
--- a/tools/Rules.mk
+++ b/tools/Rules.mk
@@ -4,12 +4,12 @@ XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc
XEN_LIBXC = $(XEN_ROOT)/tools/libxc
XEN_LIBXUTIL = $(XEN_ROOT)/tools/libxutil
-ifeq ($(ARCH),x86_32)
+ifeq ($(TARGET_ARCH),x86_32)
CFLAGS += -m32 -march=i686
LDFLAGS += -m elf_i386
endif
-ifeq ($(ARCH),x86_64)
+ifeq ($(TARGET_ARCH),x86_64)
CFLAGS += -m64
LDFLAGS += -m elf_x86_64
endif