Tony Breeds
2006-Oct-26  05:22 UTC
[Xen-devel] [PATCH][TOOLS][XM-TEST] Force BR_URL decison into final Makefile.
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 <tony@bakeyournoodle.com>
---
 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!
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Oct-26  09:20 UTC
[Xen-devel] Re: [PATCH][TOOLS][XM-TEST] Force BR_URL decison into final Makefile.
On Thu, Oct 26, 2006 at 03:22:13PM +1000, Tony Breeds wrote:> 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 <tony@bakeyournoodle.com>Applied, thanks Tony. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel