Skip to content

Commit aa57646

Browse files
committed
zephyr: examples: Makefile: do not use custom mbedtls config
We now set the build options to zephyr, so we make use of the internal mbedtl in zephyr, so we do not require a specific header file anymore.
1 parent c90fc2f commit aa57646

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/zephyr/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@ coap-client: client-src/src/main.c client-src/* ../../src/*.c ../../include/*/*
2626
(if [ -f $(ZEPHYR_PROJECT)/.venv/bin/activate ]; then \
2727
. $(ZEPHYR_PROJECT)/.venv/bin/activate ;\
2828
fi ;\
29-
cp $${LIBCOAP_DIR}/zephyr/config-mbedtls-libcoap.h $(ZEPHYR_PROJECT)/zephyr/include/ ;\
3029
cd $(ZEPHYR_PROJECT)/zephyr ;\
3130
west build -p always -b native_sim \
32-
$${LIBCOAP_DIR}/examples/zephyr/client-src -- \
31+
$${LIBCOAP_DIR}/examples/zephyr/client-src \
32+
--extra-conf libcoap-mbedtls.conf -- \
3333
-DCONF_FILE=prj.conf \
34-
-DEXTRA_ZEPHYR_MODULES=$${LIBCOAP_DIR} \
35-
-DEXTRA_CONF_FILE=$${LIBCOAP_DIR}/zephyr/libcoap-mbedtls.conf)
34+
-DEXTRA_ZEPHYR_MODULES=$${LIBCOAP_DIR})
3635
@cp -f $(ZEPHYR_PROJECT)/zephyr/build/zephyr/zephyr.exe coap-client
3736
@rm -rf $(ZEPHYR_PROJECT)/zephyr/build
3837

0 commit comments

Comments
 (0)