# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# Node ID b09b2e0b1389a9d47903de283c2e046bec87aaac
# Parent  5620501536931f9936c7ff24cb368eb8f145bb24
[TOOLS][XM-TEST] Remove hard coded reference to i386.

In preparation for other architectures.

Signed-off-by: Tony Breeds <[EMAIL PROTECTED]>
Signed-off-by: Jimi Xenidis <[EMAIL PROTECTED]>
---

 tools/xm-test/ramdisk/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r 562050153693 -r b09b2e0b1389 tools/xm-test/ramdisk/Makefile.am
--- a/tools/xm-test/ramdisk/Makefile.am Tue Oct 10 11:27:57 2006 -0400
+++ b/tools/xm-test/ramdisk/Makefile.am Tue Oct 10 11:28:01 2006 -0400
@@ -2,12 +2,14 @@ INITRD ?= http://xm-test.xensource.com/r
 
 EXTRA_DIST = skel configs patches
 
+BR_ARCH = $(shell uname -m | sed -e s/i.86/i386/)
+
 BR_TAR = buildroot-snapshot.tar.bz2
 BR_URL = http://buildroot.uclibc.org/downloads/snapshots/$(BR_TAR)
 BR_SRC = buildroot
-BR_IMG = $(BR_SRC)/rootfs.i386.ext2
+BR_IMG = $(BR_SRC)/rootfs.$(BR_ARCH).ext2
 
-BR_ROOT = build_i386/root
+BR_ROOT = build_$(BR_ARCH)/root
 
 HVM_SCRIPT = bin/create_disk_image
 

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to