2022-06-30 10:00:03 +00:00
|
|
|
#!/bin/sh -ex
|
|
|
|
# Use this script for local testing of the prepare source and build scripts
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
|
|
|
|
export SRC_SKIP_FETCH=1
|
|
|
|
export SRC_CLEAN=1
|
2023-02-01 08:49:04 +00:00
|
|
|
export PARALLEL_MAKE="-j$(echo $(nproc) + 1 | bc)"
|
2022-06-30 10:00:03 +00:00
|
|
|
|
|
|
|
mkdir -p /tmp/coverity
|
2023-02-01 08:17:32 +00:00
|
|
|
rm -f /tmp/coverity/common.sh
|
2022-06-30 10:00:03 +00:00
|
|
|
cp "$SCRIPT_DIR"/* /tmp/coverity
|
2022-09-26 12:48:13 +00:00
|
|
|
ln -sf "$SCRIPT_DIR/../scripts/common.sh" /tmp/coverity/common.sh
|
2022-06-30 10:00:03 +00:00
|
|
|
|
|
|
|
cd /tmp/coverity
|
|
|
|
|
|
|
|
./prepare_source_Osmocom.sh
|
|
|
|
./build_Osmocom.sh
|