mirror of
https://github.com/utoni/nDPId.git
synced 2026-04-28 06:59:35 +00:00
bump libnDPI to ...
* upstream changed regression test interface, needed to adapt * improved libnDPI helper build script * updated JSON schema Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
parent
a4e5bab9b2
commit
c9514136b7
2738 changed files with 173922 additions and 159153 deletions
|
|
@ -35,8 +35,17 @@ EOF
|
|||
set -x
|
||||
|
||||
cd "$(dirname "${0}")/.."
|
||||
if [ -d ./.git ]; then
|
||||
git submodule update --init ./libnDPI
|
||||
if [ -d ./.git -o -f ./.git ]; then
|
||||
LINES_CHANGED="$(git --no-pager diff ./libnDPI | wc -l)"
|
||||
if [ ${LINES_CHANGED} -eq 0 ]; then
|
||||
git submodule update --progress --init ./libnDPI
|
||||
else
|
||||
set +x
|
||||
printf '%s\n' '-----------------------------------'
|
||||
printf 'WARNING: %s changes in source tree %s, no GIT update will be done!\n' "${LINES_CHANGED}" "$(realpath $(dirname "${0}")/../libnDPI)"
|
||||
printf '%s\n' '-----------------------------------'
|
||||
set -x
|
||||
fi
|
||||
else
|
||||
set +x
|
||||
printf '%s\n' '-----------------------------------'
|
||||
|
|
@ -52,7 +61,7 @@ else
|
|||
fi
|
||||
|
||||
cd ./libnDPI
|
||||
test -r Makefile && make distclean
|
||||
test ! -r Makefile || { make distclean || true; }
|
||||
DEST_INSTALL="${DEST_INSTALL:-$(realpath ./install)}"
|
||||
MAKE_PROGRAM="${MAKE_PROGRAM:-make -j4}"
|
||||
HOST_ARG="--host=${HOST_TRIPLET}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue