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
|
||||
script:
|
||||
- "./gitlab-ci/pipeline_setup.sh"
|
||||
- "./gitlab-ci/install-unified-dependencies.sh"
|
||||
- "./gitlab-ci/setup.sh ms"
|
||||
- "./gitlab-ci/tools-test.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",
|
||||
"proto": "git",
|
||||
"version": "devel",
|
||||
"dm_info_file": "bbf_plugin/datamodel_description.json",
|
||||
"dm_files": [
|
||||
"bbf_plugin/ethernet.c",
|
||||
"bbf_plugin/dmlayer.c"
|
||||
]
|
||||
},
|
||||
{
|
||||
"repo": "https://dev.iopsys.eu/hal/ethmngr.git",
|
||||
"proto": "git",
|
||||
"version": "devel",
|
||||
"dm_files": [
|
||||
"bbf_plugin/vendor_ethernet.c",
|
||||
"bbf_plugin/dmlayer.c"
|
||||
],
|
||||
"extra_dependencies": [
|
||||
"-DTR181_VENDOR_EXTENSIONS_MACVLAN"
|
||||
]
|
||||
"repo": "https://dev.iopsys.eu/hal/ethmngr.git",
|
||||
"proto": "git",
|
||||
"version": "devel",
|
||||
"dm_info_file": "src/datamodel_description.json",
|
||||
"extra_dependencies": [
|
||||
"-DETHMNGR_MACVLAN_EXTENSION",
|
||||
"-leasy",
|
||||
"-lethernet"
|
||||
],
|
||||
"dm_files": [
|
||||
"src/ethmngr.c",
|
||||
"src/ethernet.c",
|
||||
"src/dmlayer.c",
|
||||
"src/helper.c",
|
||||
"src/vendor_ethernet.c"
|
||||
]
|
||||
},
|
||||
{
|
||||
"repo": "https://dev.iopsys.eu/system/usbmngr.git",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue