mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
ethmngr adjustment in tools input
This commit is contained in:
parent
aba3bf564a
commit
d15121cdbf
3 changed files with 48 additions and 20 deletions
|
|
@ -40,6 +40,8 @@ run_tools_test:
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
script:
|
script:
|
||||||
- "./gitlab-ci/pipeline_setup.sh"
|
- "./gitlab-ci/pipeline_setup.sh"
|
||||||
|
- "./gitlab-ci/install-unified-dependencies.sh"
|
||||||
|
- "./gitlab-ci/setup.sh ms"
|
||||||
- "./gitlab-ci/tools-test.sh"
|
- "./gitlab-ci/tools-test.sh"
|
||||||
- "./gitlab-ci/generate_supported_dm.sh"
|
- "./gitlab-ci/generate_supported_dm.sh"
|
||||||
|
|
||||||
|
|
|
||||||
30
gitlab-ci/install-unified-dependencies.sh
Executable file
30
gitlab-ci/install-unified-dependencies.sh
Executable file
|
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "install unified daemon dependencies"
|
||||||
|
|
||||||
|
source ./gitlab-ci/shared.sh
|
||||||
|
|
||||||
|
dst=$(pwd)
|
||||||
|
|
||||||
|
# libeasy for ethmngr
|
||||||
|
cd /opt/dev
|
||||||
|
rm -fr libeasy
|
||||||
|
mkdir -p /usr/include/easy
|
||||||
|
git clone -b devel https://dev.iopsys.eu/iopsys/libeasy.git
|
||||||
|
cd libeasy
|
||||||
|
make
|
||||||
|
cp -a libeasy*.so* /usr/lib
|
||||||
|
cp -a *.h /usr/include/easy/
|
||||||
|
|
||||||
|
# libethernet for ethmngr
|
||||||
|
cd /opt/dev
|
||||||
|
rm -fr libethernet
|
||||||
|
git clone -b devel https://dev.iopsys.eu/iopsys/libethernet.git
|
||||||
|
cd libethernet
|
||||||
|
make PLATFORM=TEST
|
||||||
|
cp ethernet.h /usr/include
|
||||||
|
cp -a libethernet*.so* /usr/lib
|
||||||
|
sudo ldconfig
|
||||||
|
|
||||||
|
cd ${dst}
|
||||||
|
pwd
|
||||||
|
|
@ -260,26 +260,22 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"repo": "https://dev.iopsys.eu/hal/ethmngr.git",
|
"repo": "https://dev.iopsys.eu/hal/ethmngr.git",
|
||||||
"proto": "git",
|
"proto": "git",
|
||||||
"version": "devel",
|
"version": "devel",
|
||||||
"dm_info_file": "bbf_plugin/datamodel_description.json",
|
"dm_info_file": "src/datamodel_description.json",
|
||||||
"dm_files": [
|
"extra_dependencies": [
|
||||||
"bbf_plugin/ethernet.c",
|
"-DETHMNGR_MACVLAN_EXTENSION",
|
||||||
"bbf_plugin/dmlayer.c"
|
"-leasy",
|
||||||
]
|
"-lethernet"
|
||||||
},
|
],
|
||||||
{
|
"dm_files": [
|
||||||
"repo": "https://dev.iopsys.eu/hal/ethmngr.git",
|
"src/ethmngr.c",
|
||||||
"proto": "git",
|
"src/ethernet.c",
|
||||||
"version": "devel",
|
"src/dmlayer.c",
|
||||||
"dm_files": [
|
"src/helper.c",
|
||||||
"bbf_plugin/vendor_ethernet.c",
|
"src/vendor_ethernet.c"
|
||||||
"bbf_plugin/dmlayer.c"
|
]
|
||||||
],
|
|
||||||
"extra_dependencies": [
|
|
||||||
"-DTR181_VENDOR_EXTENSIONS_MACVLAN"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"repo": "https://dev.iopsys.eu/system/usbmngr.git",
|
"repo": "https://dev.iopsys.eu/system/usbmngr.git",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue