Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
abffd1e4
Commit
abffd1e4
authored
Jan 12, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fix download step (paths and scripts)
parent
2993e175
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
download-info
build/download-info
+9
-4
wrs_functions
build/scripts/wrs_functions
+7
-3
No files found.
build/download-info
View file @
abffd1e4
...
...
@@ -10,7 +10,13 @@
at91bootstrap-3-3.0.tar.gz 059a3e99cd93727c642ab7843c714887 \
http://repository.timesys.com/buildsources/a/at91bootstrap-3/at91bootstrap-3-3.0/at91bootstrap-3-3.0.tar.gz
# FIXME: barebox and kernel are missing
# boot loader
barebox-2011.09.0.tar.bz2 0ea4940b7c5af5c50dcf75d4170a319d \
http://www.barebox.org/./download/barebox-2011.09.0.tar.bz2
# kernel
linux-2.6.39.tar.bz2 1aab7a741abe08d42e8eccf20de61e05 \
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.tar.bz2
# buildroot core and packages
buildroot-2011.11.tar.bz2 7b852f4ef17c63857ca7b9388b782070 \
...
...
@@ -47,7 +53,7 @@ gmp-5.0.2.tar.bz2 0bbaedc82fb30315b06b1588b9077cd3 \
http://ftp.gnu.org/pub/gnu/gmp/gmp-5.0.2.tar.bz2
gperf-3.0.4.tar.gz c1f1db32fb6598d6a93e6e88796a8632 \
http://ftp.gnu.org/pub/gnu/gperf/
http://ftp.gnu.org/pub/gnu/gperf/
gperf-3.0.4.tar.gz
iproute2-2.6.39.tar.gz 8a3b6bc77c2ecf752284aa4a6fc630a6 \
http://devresources.linuxfoundation.org/dev/iproute2/download/iproute2-2.6.39.tar.gz
...
...
@@ -71,7 +77,7 @@ lua-5.1.4.tar.gz d0870f2de55d59c1c8419f36e8fac150 \
http://www.lua.org/ftp/lua-5.1.4.tar.gz
lzo-2.06.tar.gz 95380bd4081f85ef08c5209f4107e9f8 \
http://www.lzop.org/download/
http://www.lzop.org/download/
lzo-2.06.tar.gz
m4-1.4.15.tar.bz2 c7c32540bc3842d5550f88d47ef551d8 \
http://ftp.gnu.org/pub/gnu/m4/m4-1.4.15.tar.bz2
...
...
@@ -105,7 +111,6 @@ uClibc-0.9.32.tar.bz2 cfcb6c25d8ebe12817499d8749ee8ae1 \
udev-173.tar.bz2 91a88a359b60bbd074b024883cc0dbde \
http://www.kernel.org/pub//linux/utils/kernel/hotplug//udev-173.tar.bz2
http://sources.buildroot.net//udev-173.tar.bz2
zlib-1.2.5.tar.bz2 be1e89810e66150f5b0327984d8625a0 \
http://kent.dl.sourceforge.net/sourceforge/libpng/zlib-1.2.5.tar.bz2
...
...
build/scripts/wrs_functions
View file @
abffd1e4
...
...
@@ -143,18 +143,22 @@ wrs_download () {
# Download from upstream
wget -q $upstream -O $output
if [ -
f
$output ]; then
if [ -
s
$output ]; then
wrs_echo "Retrieved $file from upstream"
return
else
rm -f $output
fi
# Download from buildroot
wget -q http://sources.buildroot.net/$file
if [ -
f
$output ]; then
if [ -
s
$output ]; then
wrs_echo "Retrieved $file from sources.buildroot.net"
return
else
rm -f $output
fi
wrs_err
or
"Cannot download $file"
wrs_err "Cannot download $file"
}
# The following builds one step if needed: if file $1 exists, then the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment