update tools for qos

This commit is contained in:
Vivek Kumar Dutta 2025-04-12 17:47:16 +05:30
parent cb75a1e027
commit 4ec1489532
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C
4 changed files with 19 additions and 2 deletions

View file

@ -15,8 +15,8 @@ include:
- if: $CI_COMMIT_BRANCH == "devel"
stages:
- static_code_analysis
- unit_test
- static_code_analysis
- functional_test
- deploy

View file

@ -18,6 +18,7 @@ fi
install_cmph
install_libeasy
install_libethernet
install_libqos
[ ! -d "${BBFDM_MS_DIR}" ] && mkdir -p "${BBFDM_MS_DIR}"
rm -rf ${BBFDM_MS_DIR}/*

View file

@ -119,6 +119,21 @@ function install_libeasy()
)
}
function install_libqos()
{
[ -d "/opt/dev/libqos" ] && return 0
exec_cmd git clone https://dev.iopsys.eu/hal/libqos.git /opt/dev/libqos
(
cd /opt/dev/libqos
exec_cmd make
mkdir -p /usr/include/
cp -a libqos*.so* /usr/lib/
cp -a include/*.h /usr/include/
)
}
function install_libethernet()
{
[ -d "/opt/dev/libethernet" ] && return 0
@ -139,6 +154,7 @@ function install_ethmngr_as_micro_service()
install_libeasy
install_libethernet
install_libqos
exec_cmd git clone https://dev.iopsys.eu/hal/ethmngr.git /opt/dev/ethmngr
exec_cmd make -C /opt/dev/ethmngr

View file

@ -245,7 +245,7 @@
"proto": "git",
"version": "devel",
"dm_files": [
"bbf_plugin/qos_bbf.c"
"src/qos_bbf.c"
]
},
{