Skip to content

Commit 67ba6ce

Browse files
net: l2: wifi: ensure certificates directory is created
Ensure that the output certificates directory is created, where generated certificates will be placed. This fixes a build error seen when using `make` to build samples/net/wifi for the rd_rw612_bga board, where the output directory for generated certificates did not exist at build time. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent ca770db commit 67ba6ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subsys/net/l2/wifi/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ endif()
2626
# Wi-Fi Enterprise test certificates handling
2727
set(gen_inc_dir ${ZEPHYR_BINARY_DIR}/misc/generated)
2828
set(gen_dir ${gen_inc_dir}/wifi_enterprise_test_certs)
29+
# Create output directory for test certs
30+
file(MAKE_DIRECTORY ${gen_dir})
2931

3032
# convert .pem files to array data at build time
3133
zephyr_include_directories(${gen_inc_dir})

0 commit comments

Comments
 (0)