contrib/jenkins.sh: Fix missing nvic.h

if we don't call 'make' in libopencm3 of a clean install, we will be
missing some generated nvic.h header files and compilation will fail
like below:

In file included from ../../libopencm3//include/libopencm3/cm3/nvic.h:147,
                 from ../../librfn/librfn/libopencm3/console_stm32.c:24:
../../libopencm3//include/libopencm3/dispatch/nvic.h:8:11: fatal error: libopencm3/stm32/f1/nvic.h: No such file or directory
 # include <libopencm3/stm32/f1/nvic.h>
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Harald Welte 2022-08-11 22:44:49 +02:00
parent c7e08bbd11
commit 11f0d5e846
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ publish="$1"
git submodule init git submodule init
git submodule update git submodule update
# build the library once so that the irq2nvic script is running, generating headers
(cd libopencm3 && make)
echo "=============== libopencm3 START ==============" echo "=============== libopencm3 START =============="
cd "$TOPDIR" cd "$TOPDIR"
make $PARALLEL_MAKE lib make $PARALLEL_MAKE lib