diff --git a/Makefile b/Makefile index 102ec04..8c4ad24 100644 --- a/Makefile +++ b/Makefile @@ -95,6 +95,11 @@ docker-build: docker run --rm -v "$(CURDIR)/builds:/builds" \ -v "$(CURDIR)/in-docker-build.sh:/in-docker-build.sh" \ $(DOCKER_IMAGE) "./in-docker-build.sh" $(SOLO_VERSIONISH) +uncached-docker-build: + docker build --no-cache -t $(DOCKER_IMAGE) . + docker run --rm -v "$(CURDIR)/builds:/builds" \ + -v "$(CURDIR)/in-docker-build.sh:/in-docker-build.sh" \ + $(DOCKER_IMAGE) "./in-docker-build.sh" $(SOLO_VERSIONISH) CPPCHECK_FLAGS=--quiet --error-exitcode=2 diff --git a/in-docker-build.sh b/in-docker-build.sh index 2c9e786..e2b9c44 100755 --- a/in-docker-build.sh +++ b/in-docker-build.sh @@ -7,6 +7,7 @@ export PREFIX=/opt/gcc-arm-none-eabi-8-2018-q4-major/bin/ cd /solo/targets/stm32l432 git fetch --tags git checkout ${version} +git submodule update --init --recursive version=$(git describe) make cbor