[RFC PATCH] net/iucv: Descend into net/iucv when AFIUCV is enabled
From: Pengpeng Hou
Date: Thu Jun 25 2026 - 02:13:27 EST
AFIUCV can be enabled by the QETH_L3/HiperSockets path even when IUCV
itself is not enabled. However, the top-level net Makefile only descends
into net/iucv/ under CONFIG_IUCV.
That creates a Kconfig/Kbuild carrier mismatch: CONFIG_AFIUCV=m can be
selected, but af_iucv.o is never considered because the containing
directory is skipped.
This RFC uses an always-descend model for net/iucv/. The subdirectory
Makefile already gates iucv.o and af_iucv.o on their own Kconfig symbols,
so entering the directory does not force either provider object on.
This is intentionally RFC because s390 maintainers should confirm whether
the QETH_L3-only AF_IUCV configuration is intended to build af_iucv.o
without the base IUCV object.
Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
---
net/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/Makefile b/net/Makefile
--- a/net/Makefile
+++ b/net/Makefile
@@ -45,7 +45,7 @@
obj-$(CONFIG_MAC80211) += mac80211/
obj-$(CONFIG_TIPC) += tipc/
obj-$(CONFIG_NETLABEL) += netlabel/
-obj-$(CONFIG_IUCV) += iucv/
+obj-y += iucv/
obj-$(CONFIG_SMC) += smc/
obj-$(CONFIG_RFKILL) += rfkill/
obj-$(CONFIG_NET_9P) += 9p/
--
2.39.5