[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxxxxxxxxxxx>

---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.