ethmngr adjustment in tools input

This commit is contained in:
Suvendhu Hansa 2025-01-14 19:17:05 +05:30
parent aba3bf564a
commit d15121cdbf
3 changed files with 48 additions and 20 deletions

View file

@ -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"

View 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

View file

@ -263,22 +263,18 @@
"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"
],
"dm_info_file": "src/datamodel_description.json",
"extra_dependencies": [
"-DTR181_VENDOR_EXTENSIONS_MACVLAN"
"-DETHMNGR_MACVLAN_EXTENSION",
"-leasy",
"-lethernet"
],
"dm_files": [
"src/ethmngr.c",
"src/ethernet.c",
"src/dmlayer.c",
"src/helper.c",
"src/vendor_ethernet.c"
]
},
{