blob: acdbe3cc53d3a80de214a4391b5dd4dc369e9e30 [file] [log] [blame]
Max1ac277d2018-01-18 19:15:40 +01001#!/bin/sh
2
3. $(dirname "$0")/jenkins_common.sh
4
5src_dir="$PWD"
6build() {
7 build_dir="$1"
8
9 prep_build "$src_dir" "$build_dir"
10
11 "$src_dir"/configure --enable-static \
12 --prefix=/usr/local/arm-none-eabi \
13 --host=arm-none-eabi \
14 --enable-embedded \
15 --disable-doxygen \
16 --disable-shared \
17 CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror"
18
19 $MAKE $PARALLEL_MAKE \
20 || cat-testlogs.sh
21}
22
23# verify build in dir other than source tree
24build builddir
25# verify build in source tree
26build .
27
28osmo-clean-workspace.sh