From nobody Mon Jan 26 10:08:54 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4f044l0vCzz6Q3L5 for ; Mon, 26 Jan 2026 10:08:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f044k3Bb5z3NKv for ; Mon, 26 Jan 2026 10:08:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769422134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bbzU7N5u1yM4SWMN9+gE69kraUdS2Goee1mYTEesLj8=; b=UGAeV3/mN3c0hc2Xq/jgq6BegLthHmM9rrxUhPkGXYNFTQ9UxdWsrHJwtWrNk1Ancoihwn fUrNdfW3V0t2i7UdnK0mFF9EidiWVYIsXNIYMecjY2igRH3yifVVV1Y4XIg/CTKnYP/j1a QoBXGDPP5HhpDjs0A7KOC0pvrS1dsvaqg6gTihyO0bv0r7tAkcPsyIvDsf7WOxMKXJAnZl O7i/cmaPoH4zCxoPZwHYnsRP4lKFzLKc6ZvJBT9SCiX/rEDmJH/1KdbefSq1FNAnXE4VkR 4VVHdyFVdO5DPvjK0h/fwKtlu40w264nA3/edSQG8bMsrtAFBPLUoUqtIXTO9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769422134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bbzU7N5u1yM4SWMN9+gE69kraUdS2Goee1mYTEesLj8=; b=t3EZrHlMlxIoy7xKJM/lEIAGdy+wwhdxese58nfDnW/x4HT15caXcbon6ON3bS9K3U///y dF+1UK5jDt1gFYakXcUiIiQKtQCb8ODMEA7K2h/IWBvuzaWaljwlI0Fi64WUuirDPRNnTi eb4Tc4/9dLr1geD/x45zARTFi+a4ZsxeQeHGBh+f+PqVcl5E+ksCw/Z3wv3dfLg51u+/94 BYyd/8xXCTx+emXM1Y9O0WHbJ/WbcsQjiLl8OMLScvTHyLV3m+Xq+gfDwh7RPMXsGPhmo0 A1xz0m9yJxI8eClva21XvrfMCBhduCmayqtnU7QkUDH8TmUZ42z8nvDARol3tw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769422134; a=rsa-sha256; cv=none; b=sCWEkLF4M6amw3OMZ1qAnZEC4mfGjbZVzZmAC7WVlG4ddOKO9ONkY1G0QfUZ+jv6TphD7q rktrT/JVt5wjqUkdtYpbBTN6m3xMBx5pR0xNyQ7S8/aWFYoh8Ot3KHqBNeregHrWZBYZSH LrN87Bu3EZYrEAGNKHwfvMiLYwkME/hjvbLzVPwNzewilOYOUKYNt7sqkVIUS2Fyc752EK 76K5Y3fMGuakExNJ5sRPSYcbVR8DOts9nHtNHBLzNOIwUlHAP1lQVsf9jBlfG9i0or9nBt z3cZftvC7Tpldr+kYfKblRLMXMvtOhACSzWbt2Q6Oq31wgYdEYa7CsjM45Y32w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f044k1zXrz1Vm for ; Mon, 26 Jan 2026 10:08:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 35369 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 26 Jan 2026 10:08:54 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: ShengYi Hung From: Zhenlei Huang Subject: git: 2890e164f15b - stable/14 - sys/modules: fix standalone build for multiple modules List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 2890e164f15b2a97d29245ebf4dab82667ae557f Auto-Submitted: auto-generated Date: Mon, 26 Jan 2026 10:08:54 +0000 Message-Id: <69773d36.35369.1b6100b@gitrepo.freebsd.org> The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=2890e164f15b2a97d29245ebf4dab82667ae557f commit 2890e164f15b2a97d29245ebf4dab82667ae557f Author: ShengYi Hung AuthorDate: 2025-08-21 08:27:06 +0000 Commit: Zhenlei Huang CommitDate: 2026-01-26 10:06:47 +0000 sys/modules: fix standalone build for multiple modules Multiple Makefile miss opt_*.h and *_if.h header file. We fix it by running make in sys/modules to build all modules. MFC note: this is a partial MFS to stable/14, as modules/etherswitch, modules/miiproxy and modules/nvmf do not exist in stable/14. Approved by: lwhsu (mentor), markj (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52062 (cherry picked from commit 8a847947153e60d812852e5c02de93997b2d3038) --- sys/modules/e6000sw/Makefile | 2 +- sys/modules/evdev/Makefile | 2 +- sys/modules/gpio/gpioaei/Makefile | 2 ++ sys/modules/gve/Makefile | 2 +- sys/modules/if_infiniband/Makefile | 3 ++- sys/modules/if_vlan/Makefile | 2 +- sys/modules/linux64/Makefile | 1 + sys/modules/md/Makefile | 2 +- sys/modules/mlx5/Makefile | 2 +- sys/modules/mlx5en/Makefile | 2 +- sys/modules/netgraph/ksocket/Makefile | 2 ++ sys/modules/qlnx/qlnxev/Makefile | 1 + sys/modules/uinput/Makefile | 2 +- sys/modules/usb/usie/Makefile | 2 +- sys/modules/usb/wmt/Makefile | 2 +- 15 files changed, 18 insertions(+), 11 deletions(-) diff --git a/sys/modules/e6000sw/Makefile b/sys/modules/e6000sw/Makefile index a4315ca16ddc..2b371669fe1b 100644 --- a/sys/modules/e6000sw/Makefile +++ b/sys/modules/e6000sw/Makefile @@ -4,6 +4,6 @@ KMOD= e6000sw SRCS= e6000sw.c -SRCS+= bus_if.h etherswitch_if.h mdio_if.h miibus_if.h ofw_bus_if.h opt_platform.h +SRCS+= bus_if.h device_if.h etherswitch_if.h mdio_if.h miibus_if.h ofw_bus_if.h opt_platform.h .include diff --git a/sys/modules/evdev/Makefile b/sys/modules/evdev/Makefile index 49183bd3a8de..d4791a8b9116 100644 --- a/sys/modules/evdev/Makefile +++ b/sys/modules/evdev/Makefile @@ -3,7 +3,7 @@ KMOD= evdev SRCS= cdev.c evdev.c evdev_mt.c evdev_utils.c -SRCS+= opt_evdev.h bus_if.h device_if.h +SRCS+= opt_evdev.h opt_kbd.h bus_if.h device_if.h EXPORT_SYMS= YES diff --git a/sys/modules/gpio/gpioaei/Makefile b/sys/modules/gpio/gpioaei/Makefile index 8f856af48eb7..1f0f1d0e53a6 100644 --- a/sys/modules/gpio/gpioaei/Makefile +++ b/sys/modules/gpio/gpioaei/Makefile @@ -10,6 +10,8 @@ SRCS+= \ gpio_if.h \ gpiobus_if.h +SRCS+= opt_acpi.h opt_platform.h + CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ .include diff --git a/sys/modules/gve/Makefile b/sys/modules/gve/Makefile index 08b26a994e36..ece275485df7 100644 --- a/sys/modules/gve/Makefile +++ b/sys/modules/gve/Makefile @@ -40,5 +40,5 @@ SRCS= gve_main.c \ gve_tx_dqo.c \ gve_sysctl.c SRCS+= device_if.h bus_if.h pci_if.h - +SRCS+= opt_inet6.h .include diff --git a/sys/modules/if_infiniband/Makefile b/sys/modules/if_infiniband/Makefile index ac191c143292..059d908eb95f 100644 --- a/sys/modules/if_infiniband/Makefile +++ b/sys/modules/if_infiniband/Makefile @@ -4,7 +4,8 @@ KMOD= if_infiniband SRCS= if_infiniband.c \ opt_inet.h \ - opt_inet6.h + opt_inet6.h \ + opt_kbd.h EXPORT_SYMS= YES diff --git a/sys/modules/if_vlan/Makefile b/sys/modules/if_vlan/Makefile index a9eb44e25278..f8530e440aa1 100644 --- a/sys/modules/if_vlan/Makefile +++ b/sys/modules/if_vlan/Makefile @@ -3,6 +3,6 @@ KMOD= if_vlan SRCS= if_vlan.c -SRCS+= opt_inet.h opt_inet6.h opt_kern_tls.h opt_vlan.h opt_ratelimit.h +SRCS+= opt_inet.h opt_inet6.h opt_ipsec.h opt_kern_tls.h opt_vlan.h opt_ratelimit.h .include diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile index 5d0174aa8e9b..4ca547737c91 100644 --- a/sys/modules/linux64/Makefile +++ b/sys/modules/linux64/Makefile @@ -32,6 +32,7 @@ SRCS= linux_dummy_machdep.c \ opt_ktrace.h \ opt_inet6.h \ opt_posix.h \ + opt_usb.h \ bus_if.h \ device_if.h \ vnode_if.h \ diff --git a/sys/modules/md/Makefile b/sys/modules/md/Makefile index 2473e3715bd2..00b4c571c558 100644 --- a/sys/modules/md/Makefile +++ b/sys/modules/md/Makefile @@ -2,6 +2,6 @@ .PATH: ${SRCTOP}/sys/dev/md KMOD= geom_md -SRCS= md.c opt_md.h opt_geom.h opt_rootdevname.h vnode_if.h +SRCS= bus_if.h device_if.h md.c opt_md.h opt_geom.h opt_rootdevname.h vnode_if.h .include diff --git a/sys/modules/mlx5/Makefile b/sys/modules/mlx5/Makefile index 339b0bef9382..5e54ab7d6cf8 100644 --- a/sys/modules/mlx5/Makefile +++ b/sys/modules/mlx5/Makefile @@ -38,7 +38,7 @@ mlx5_vsc.c \ mlx5_wq.c \ mlx5_gid.c SRCS+= ${LINUXKPI_GENSRCS} -SRCS+= opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h +SRCS+= opt_inet.h opt_inet6.h opt_ipsec.h opt_rss.h opt_ratelimit.h CFLAGS+= -I${SRCTOP}/sys/ofed/include CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi diff --git a/sys/modules/mlx5en/Makefile b/sys/modules/mlx5en/Makefile index 03bf174e33b0..3697fa65dc83 100644 --- a/sys/modules/mlx5en/Makefile +++ b/sys/modules/mlx5en/Makefile @@ -15,7 +15,7 @@ mlx5_en_rl.c \ mlx5_en_txrx.c \ mlx5_en_port_buffer.c SRCS+= ${LINUXKPI_GENSRCS} -SRCS+= opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h opt_kern_tls.h +SRCS+= opt_inet.h opt_inet6.h opt_ipsec.h opt_rss.h opt_ratelimit.h opt_kern_tls.h .if defined(HAVE_PER_CQ_EVENT_PACKET) CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET diff --git a/sys/modules/netgraph/ksocket/Makefile b/sys/modules/netgraph/ksocket/Makefile index 5e05eb1cc620..348b1c149c0e 100644 --- a/sys/modules/netgraph/ksocket/Makefile +++ b/sys/modules/netgraph/ksocket/Makefile @@ -2,4 +2,6 @@ KMOD= ng_ksocket SRCS= ng_ksocket.c +SRCS+= opt_inet6.h + .include diff --git a/sys/modules/qlnx/qlnxev/Makefile b/sys/modules/qlnx/qlnxev/Makefile index ed62f1f1dd40..766a5a950032 100644 --- a/sys/modules/qlnx/qlnxev/Makefile +++ b/sys/modules/qlnx/qlnxev/Makefile @@ -49,6 +49,7 @@ SRCS+=ecore_vf.c SRCS+=qlnx_ioctl.c SRCS+=qlnx_os.c +SRCS+=opt_inet.h SRCS+= ${LINUXKPI_GENSRCS} diff --git a/sys/modules/uinput/Makefile b/sys/modules/uinput/Makefile index 623151c580a3..27f58b28acdf 100644 --- a/sys/modules/uinput/Makefile +++ b/sys/modules/uinput/Makefile @@ -3,6 +3,6 @@ KMOD= uinput SRCS= uinput.c -SRCS+= opt_evdev.h +SRCS+= opt_evdev.h opt_kbd.h .include diff --git a/sys/modules/usb/usie/Makefile b/sys/modules/usb/usie/Makefile index 6a5f79248ff8..9edeed082f8d 100644 --- a/sys/modules/usb/usie/Makefile +++ b/sys/modules/usb/usie/Makefile @@ -29,6 +29,6 @@ KMOD = usie SRCS = if_usie.c SRCS += opt_bus.h opt_usb.h device_if.h bus_if.h \ - usb_if.h usbdevs.h opt_inet.h + usb_if.h usbdevs.h opt_inet.h opt_inet6.h .include diff --git a/sys/modules/usb/wmt/Makefile b/sys/modules/usb/wmt/Makefile index b20fa8f14297..e9e0d05b788f 100644 --- a/sys/modules/usb/wmt/Makefile +++ b/sys/modules/usb/wmt/Makefile @@ -4,6 +4,6 @@ S= ${SRCTOP}/sys .PATH: $S/dev/usb/input KMOD= wmt -SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h wmt.c +SRCS= opt_bus.h opt_kbd.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h wmt.c .include