Skip to contentSkip to conversation

Force BR_URL decison into final Makefile.

PATCH Applied Tony Breeds 2 participants 2 messages Oct 26, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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"

---
 Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/xm-test/ramdisk/Makefile.am Thu Oct 26 14:27:54 2006 +1000 renamed from tools/xm-test/ramdisk/Makefile.am Wed Oct 25 15:29:36 2006 +0100 +2 -2
diff -r abee5c6b930d tools/xm-test/ramdisk/Makefile.am
@@ -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!

Applied
#1 lore raw
Quoted 10 lines · Tony Breeds

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

Quoted 6 lines
    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"

Applied, thanks Tony.

Ewan.