Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
Freifunk Franken Firmware
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
freifunk
Freifunk Franken Firmware
Commits
578810df
Commit
578810df
authored
10 years ago
by
Oliver Voelker
Browse files
Options
Downloads
Patches
Plain Diff
removed unused/broken functions
parent
0e1812ef
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildscript
+3
-47
3 additions, 47 deletions
buildscript
with
3 additions
and
47 deletions
buildscript
+
3
−
47
View file @
578810df
...
...
@@ -209,7 +209,7 @@ postbuild() {
}
flash
()
{
# some flash tools need an argu
e
ment..
# some flash tools need an argument..
board_flash
$1
}
...
...
@@ -219,8 +219,7 @@ clean() {
}
buildall
()
{
for
bsp
in
$(
/bin/ls bsp/
*
.bsp
)
do
for
bsp
in
$(
/bin/ls bsp/
*
.bsp
)
;
do
./buildscript selectcommunity
$1
./buildscript selectbsp
$bsp
./buildscript prepare
...
...
@@ -228,18 +227,6 @@ buildall() {
done
}
routers
()
{
echo
"router-types: "
echo
" dir300"
echo
" dir300b_adhoc"
echo
" dir300b_ap"
echo
" fonera"
echo
" wrt54g_ap"
echo
" wrt54g_adhoc"
echo
" wr741nd"
echo
" wr1043nd"
}
if
[
"
$1
"
!=
"selectbsp"
-a
"
$1
"
!=
"selectcommunity"
-a
"
$1
"
!=
"buildall"
]
;
then
if
[
!
-h
selected_bsp
]
;
then
echo
"Please select a Board-Support-Package using:"
...
...
@@ -324,35 +311,6 @@ case "$1" in
;;
esac
;;
"download"
)
if
[
"
$2
"
=
"help"
]
||
[
"
$2
"
=
""
]
;
then
echo
"This option downloads the ready configured images from an external location if needet."
echo
"Usage:
$0
$1
http://downloadfolder router-type"
echo
"Common downloadfolder for firmware version 0.3 is http://dev.freifunk-ol.de/firmware/0.3/"
routers
echo
echo
echo
"This function is broken!"
else
exit
mkdir
./bin
cd
./bin
wget
"
$2
/
$3
/openwrt-
$3
-root.squashfs"
wget
"
$2
/
$3
/openwrt-
$3
-vmlinux.lzma"
cd
..
fi
;;
"flash"
)
if
[
"
$2
"
=
"help"
]
||
[
"
$2
"
=
"x"
]
;
then
echo
"This option flashes the router."
echo
"
$0
$1
net-dev"
routers
echo
"net-dev:"
echo
" ethX"
else
flash
"
$2
"
fi
;;
"clean"
)
if
[
"
$2
"
=
"help"
]
||
[
"
$2
"
=
"x"
]
;
then
echo
"This option cleans all build files."
...
...
@@ -372,7 +330,7 @@ case "$1" in
fi
;;
*
)
echo
"This is the Build Environment Script of the Freifunk Community
Oldenburg
."
echo
"This is the Build Environment Script of the Freifunk Community
Franken
."
echo
"Usage:
$0
command"
echo
"command:"
echo
" selectcommunity [communityfile]"
...
...
@@ -381,8 +339,6 @@ case "$1" in
echo
" config"
echo
" build"
echo
" buildall"
echo
" flash"
echo
" download"
echo
""
echo
"If you need help to one of these options just type
$0
command help"
;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment