Skip to content

Commit 43302ee

Browse files
committed
llext: wrap *ipv4* function exports inside CONFIG_NET_IPV4
Fixes loader build if CONFIG_NET_IPV4 is not set Signed-off-by: pennam <[email protected]>
1 parent 0d80138 commit 43302ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

loader/llext_exports.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ EXPORT_SYMBOL(z_log_msg_runtime_vcreate);
7070
FORCE_EXPORT_SYM(net_if_foreach);
7171
FORCE_EXPORT_SYM(net_if_down);
7272
FORCE_EXPORT_SYM(net_if_get_by_iface);
73+
#if defined(CONFIG_NET_IPV4)
7374
FORCE_EXPORT_SYM(net_if_ipv4_maddr_add);
7475
FORCE_EXPORT_SYM(net_if_ipv4_maddr_join);
7576
FORCE_EXPORT_SYM(net_if_ipv4_set_gw);
7677
FORCE_EXPORT_SYM(net_if_ipv4_addr_add);
7778
FORCE_EXPORT_SYM(net_if_ipv4_set_netmask_by_addr);
79+
#endif
7880
FORCE_EXPORT_SYM(net_if_lookup_by_dev);
7981
#endif
8082

0 commit comments

Comments
 (0)