Skip to content

Commit e34d5ca

Browse files
krish2718kartben
authored andcommitted
modules: hostap: Fix EAP-AKA only build
The SIM common file is applicable for AKA as well. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 7b6220b commit e34d5ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/hostap/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,12 @@ zephyr_library_compile_definitions_ifdef(CONFIG_EAP_IKEV2
519519
EAP_IKEV2
520520
)
521521

522+
if (CONFIG_EAP_SIM OR CONFIG_EAP_AKA)
523+
zephyr_library_sources(${HOSTAP_SRC_BASE}/eap_common/eap_sim_common.c)
524+
endif()
525+
522526
zephyr_library_sources_ifdef(CONFIG_EAP_SIM
523527
${HOSTAP_SRC_BASE}/eap_peer/eap_sim.c
524-
${HOSTAP_SRC_BASE}/eap_common/eap_sim_common.c
525528
)
526529

527530
zephyr_library_compile_definitions_ifdef(CONFIG_EAP_SIM

0 commit comments

Comments
 (0)