From ebbdc30a52cb1a4392e604cd34da501f97c31bba Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 22 Jun 2016 13:41:49 +0200 Subject: [PATCH] build.sh: split build steps for platform lwip Apparently, the vpath magic in the lwip examples' Makefile requires the lwip files to exist before the server is built. Thus, the build script now calls make twice: First, to clone the lwip repositories, and second, to create the actual server application. --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index b9a8bbaf..18d157db 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -14,6 +14,7 @@ case "${PLATFORM}" in make -C examples/contiki ;; lwip) config "--disable-tests --disable-documentation --disable-examples" && \ + make -C examples/lwip lwip lwip-contrib make -C examples/lwip ;; posix|*) config "$WITH_TESTS --enable-documentation --enable-examples" && \