Skip to content

Commit

Permalink
modules: hostap: Fix EAP-AKA only build
Browse files Browse the repository at this point in the history
The SIM common file is applicable for AKA as well.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
  • Loading branch information
krish2718 authored and kartben committed Jan 31, 2025
1 parent 7b6220b commit e34d5ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/hostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,12 @@ zephyr_library_compile_definitions_ifdef(CONFIG_EAP_IKEV2
EAP_IKEV2
)

if (CONFIG_EAP_SIM OR CONFIG_EAP_AKA)
zephyr_library_sources(${HOSTAP_SRC_BASE}/eap_common/eap_sim_common.c)
endif()

zephyr_library_sources_ifdef(CONFIG_EAP_SIM
${HOSTAP_SRC_BASE}/eap_peer/eap_sim.c
${HOSTAP_SRC_BASE}/eap_common/eap_sim_common.c
)

zephyr_library_compile_definitions_ifdef(CONFIG_EAP_SIM
Expand Down

0 comments on commit e34d5ca

Please sign in to comment.