summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-02-01 21:07:53 +0100
committerJean-François Milants <jf@codingfield.com>2021-02-01 21:07:53 +0100
commit740b3d7b58dd92a6a6f99620a090ae4f05c03299 (patch)
tree0c5235441c573eea52d8db8a9df79888fb1b27b0 /docker
parentd2bb209d7f5b74447c80e404ae7249fa0d151c41 (diff)
Add new cmake option to disable the generation of DFU file (which needs adafruit-nrfutil on the build machine) : BUILD_DFU (disabled by default, enabled in docker build).
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/build.sh b/docker/build.sh
index 8f0d0fa9..2fa7d920 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -63,6 +63,7 @@ CmakeGenerate() {
-DUSE_OPENOCD=1 \
-DARM_NONE_EABI_TOOLCHAIN_PATH="$TOOLS_DIR/$GCC_ARM_VER" \
-DNRF5_SDK_PATH="$TOOLS_DIR/$NRF_SDK_VER" \
+ -DBUILD_DFU=1 \
"$SOURCES_DIR"
cmake -L -N .
}