From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Breeds Subject: [PATCH 2/10][TOOLS][XM-TEST] Remove hard coded reference to i386 Date: Fri, 20 Oct 2006 13:20:43 +1000 Message-ID: <20061020032043.GI27551@bakeyournoodle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-Devel Cc: XenPPC-devel List-Id: xen-devel@lists.xenproject.org Remove hard coded reference to i386. In preparation for other architectures. Signed-off-by: Tony Breeds --- tools/xm-test/ramdisk/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/tools/xm-test/ramdisk/Makefile.am Thu Oct 19 11:54:43 2006 +1000 +++ b/tools/xm-test/ramdisk/Makefile.am Thu Oct 19 11:55:18 2006 +1000 @@ -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