Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Context Sensitive Group
freedombone
Commits
c1e50005
Commit
c1e50005
authored
6 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Build bmx7 plugins
parent
43bdba2b
Loading
Loading
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-image-customise
+23
-16
23 additions, 16 deletions
src/freedombone-image-customise
with
23 additions
and
16 deletions
src/freedombone-image-customise
+
23
−
16
View file @
c1e50005
...
...
@@ -834,6 +834,7 @@ install_bmx7() {
git clone
"
$BMX7_REPO
"
"
$rootdir
/etc/bmx7"
MBEDTLS_VERSION
=
'2.11.0'
UCI_VERSION
=
'0.7.5'
cat
<<
EOF
> "
$rootdir
/usr/bin/install_bmx7"
#!/bin/bash
...
...
@@ -844,30 +845,36 @@ cd mbedtls-${MBEDTLS_VERSION}
make
sudo make install
cd /etc
wget http://downloads.openwrt.org/sources/uci-
${
UCI_VERSION
}
.tar.gz
tar xzvf uci-
${
UCI_VERSION
}
.tar.gz
cd uci-
${
UCI_VERSION
}
make clean all install WOPTS="-pedantic -Wall"
sudo make install
cd /etc/bmx7
git checkout
$BMX7_COMMIT
-b
$BMX7_COMMIT
make EXTRA_CFLAGS="-DCRYPTLIB=MBEDTLS_
${
MBEDTLS_VERSION
}
"
make
build_all
EXTRA_CFLAGS="
-DTRAFFIC_DUMP
-DCRYPTLIB=MBEDTLS_
${
MBEDTLS_VERSION
}
"
make install
cd /etc/bmx7
/lib/bmx7_http_info
make
make install
cd /etc/bmx7
make
-C lib/bmx7_http_info/
make
-C lib/bmx7_http_info/
install
cd /etc/bmx7/lib/bmx7_json
make
make install
make -C lib/bmx7_uci_config/
make -C lib/bmx7_uci_config/ install
cd /etc/bmx7/lib/bmx7_tun
make
make install
make -C lib/bmx7_json/
make -C lib/bmx7_json/ install
cd /etc/bmx7/lib/bmx7_sms
make
make install
make -C lib/bmx7_tun/
make -C lib/bmx7_tun/ install
cd /etc/bmx7/lib/bmx7_topology
make
make install
make -C lib/bmx7_sms/
make -C lib/bmx7_sms/ install
make -C lib/bmx7_topology/
make -C lib/bmx7_topology/ install
EOF
chroot
"
$rootdir
"
chmod
+x /usr/bin/install_bmx7
chroot
"
$rootdir
"
/usr/bin/install_bmx7
...
...
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