Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
map-controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-controller
Commits
99f8b28b
Commit
99f8b28b
authored
2 years ago
by
Anjan Chanda
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: fix dependencies on libeasy and libwifiutils
parent
ec2da5a2
No related branches found
No related tags found
1 merge request
!225
gitlab-ci: fix dependencies on libeasy and libwifiutils
Pipeline
#91727
passed
2 years ago
Stage: static_code_analysis
Stage: compile_test
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci/install-dependencies.sh
+16
-15
16 additions, 15 deletions
gitlab-ci/install-dependencies.sh
with
16 additions
and
15 deletions
gitlab-ci/install-dependencies.sh
+
16
−
15
View file @
99f8b28b
...
@@ -19,24 +19,25 @@ function exec_cmd()
...
@@ -19,24 +19,25 @@ function exec_cmd()
exec_cmd apt update
exec_cmd apt update
exec_cmd apt
install
-y
iproute2
exec_cmd apt
install
-y
iproute2
# lib
wifi
# lib
easy
cd
/opt/dev
cd
/opt/dev
rm
-fr
easy-soc-libs
rm
-fr
libeasy
git clone https://dev.iopsys.eu/iopsys/easy-soc-libs.git
cd
easy-soc-libs
git checkout origin devel
cd
libeasy
make CFLAGS+
=
"-I/usr/include/libnl3"
mkdir
-p
/usr/include/easy
mkdir
-p
/usr/include/easy
cp
easy.h event.h utils.h if_utils.h debug.h hlist.h /usr/include/easy
exec_cmd git clone
-b
devel https://dev.iopsys.eu/iopsys/libeasy.git
cp
-a
libeasy
*
.so
*
/usr/lib
cd
libeasy
cd
../libwifi
exec_cmd make CFLAGS+
=
"-I/usr/include/libnl3"
make
WIFI_TYPE
=
TEST
exec_cmd
cp
-a
libeasy
*
.so
*
/usr/lib
cp
wifidefs.h wifiutils.h wifiops.h wifi.h /usr/include
exec_cmd
cp
-a
easy.h event.h utils.h if_utils.h debug.h hlist.h /usr/include/easy/
cp
-a
libwifi
*
.so
*
/usr/lib
sudo
ldconfig
# libwifiutils
cd
/opt/dev
rm
-fr
libwifiutils
exec_cmd git clone
-b
devel https://dev.iopsys.eu/iopsys/libwifi.git libwifiutils
cd
libwifiutils
exec_cmd make libwifiutils.so
exec_cmd
cp
wifidefs.h wifiutils.h /usr/include
exec_cmd
cp
-a
libwifiutils.so /usr/lib
sudo
ldconfig
# ieee1905 + map.so
# ieee1905 + map.so
cd
/opt/dev
cd
/opt/dev
...
...
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