mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
update tools for qos
This commit is contained in:
parent
cb75a1e027
commit
4ec1489532
4 changed files with 19 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ include:
|
|||
- if: $CI_COMMIT_BRANCH == "devel"
|
||||
|
||||
stages:
|
||||
- static_code_analysis
|
||||
- unit_test
|
||||
- static_code_analysis
|
||||
- functional_test
|
||||
- deploy
|
||||
|
||||
|
|
|
|||
|
|
@ -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}/*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@
|
|||
"proto": "git",
|
||||
"version": "devel",
|
||||
"dm_files": [
|
||||
"bbf_plugin/qos_bbf.c"
|
||||
"src/qos_bbf.c"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue