From: Tony Breeds Subject: [PATCH][TOOLS][XM-TEST] Force BR_URL decison into final Makefile. Date: Thu, 26 Oct 2006 15:22:13 +1000 Message-ID: <20061026052213.GK27551@bakeyournoodle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: Xen-Devel , XenPPC-devel List-Id: xen-devel@lists.xenproject.org Hello Ewan, I was testing out the current xen-unstable on x86 and found that with automake 1.9 I needed the floowing patch to have the generated Makefile work. Otherwise I was getting variations on BR_URL = http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2 ifdef BR_SNAPSHOT else BR_URL ?= http://xm-test.xensource.com/ramdisks/buildroot-20061023.tar.bz2 endif Which meant that BR_URL was always getting "http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2" Signed-off-by: Tony Breeds --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -r abee5c6b930d tools/xm-test/ramdisk/Makefile.am --- a/tools/xm-test/ramdisk/Makefile.am Wed Oct 25 15:29:36 2006 +0100 +++ b/tools/xm-test/ramdisk/Makefile.am Thu Oct 26 14:27:54 2006 +1000 @@ -17,9 +17,9 @@ BR_ARCH ?= $(shell uname -m | sed -e s/i BR_ARCH ?= $(shell uname -m | sed -e s/i.86/i386/ -e 's/ppc\(64\)*/powerpc/') @MK@ifdef BR_SNAPSHOT - BR_URL = http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2 +@MK@ BR_URL = http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2 @MK@else - BR_URL ?= http://xm-test.xensource.com/ramdisks/buildroot-20061023.tar.bz2 +@MK@ BR_URL = http://xm-test.xensource.com/ramdisks/buildroot-20061023.tar.bz2 @MK@endif BR_TAR = $(notdir $(BR_URL)) Yours Tony linux.conf.au http://linux.conf.au/ || http://lca2007.linux.org.au/ Jan 15-20 2007 The Australian Linux Technical Conference!