diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-10-30 18:11:02 +0000 |
---|---|---|
committer | Roger Pau Monne <roger.pau@citrix.com> | 2012-10-30 18:11:02 +0000 |
commit | 26104b09f9269bed2805423ba0f398254c324eee (patch) | |
tree | 94251e75270a3202ed3c935321b8cfe4df101684 /tools/firmware | |
parent | ecf9846a6a200e8c8cfb26d409d18fd9615df9b9 (diff) | |
download | xen-26104b09f9269bed2805423ba0f398254c324eee.tar.gz xen-26104b09f9269bed2805423ba0f398254c324eee.tar.bz2 xen-26104b09f9269bed2805423ba0f398254c324eee.zip |
autoconf: check for wget and ftp
Some OSes don't come with wget by default, so ftp should be choosen
on those. Add an autoconf check to check for wget and ftp, and
replace the usage of hardcoded wget in tools.
[ Stubdom builds still use wget unconditionally. -iwj ]
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/firmware')
-rw-r--r-- | tools/firmware/etherboot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware/etherboot/Makefile b/tools/firmware/etherboot/Makefile index a195888dff..15561fc0a8 100644 --- a/tools/firmware/etherboot/Makefile +++ b/tools/firmware/etherboot/Makefile @@ -28,7 +28,7 @@ all: $(ROMS) $(MAKE) -C $D/src bin/$(*F).rom $T: - if ! wget -O _$T $(IPXE_TARBALL_URL); then \ + if ! $(FETCHER) _$T $(IPXE_TARBALL_URL); then \ $(GIT) clone $(IPXE_GIT_URL) $D.git; \ (cd $D.git && $(GIT) archive --format=tar --prefix=$D/ \ $(IPXE_GIT_TAG) | gzip >../_$T); \ |