git: bd1a6bff90cb - stable/14 - sys/modules/hid/*: Fix standalone build

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Mon, 26 Jan 2026 10:08:55 UTC
The branch stable/14 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=bd1a6bff90cb832c256146eef4127495e4ed80b0

commit bd1a6bff90cb832c256146eef4127495e4ed80b0
Author:     SHENG-YI HONG <aokblast@FreeBSD.org>
AuthorDate: 2024-11-29 06:59:21 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-26 10:06:47 +0000

    sys/modules/hid/*: Fix standalone build
    
    Co-authored-by: Daniel Schaefer <dhs@frame.work>
    Reviewed by:    imp, wulf
    Differential Revision:  https://reviews.freebsd.org/D47830
    
    (cherry picked from commit 9996c680d12a6245d808bc8def1d2411e736efd6)
---
 sys/modules/hid/bcm5974/Makefile   | 2 +-
 sys/modules/hid/hcons/Makefile     | 1 +
 sys/modules/hid/hgame/Makefile     | 1 +
 sys/modules/hid/hidmap/Makefile    | 2 +-
 sys/modules/hid/hms/Makefile       | 2 +-
 sys/modules/hid/hmt/Makefile       | 2 +-
 sys/modules/hid/hpen/Makefile      | 1 +
 sys/modules/hid/hsctrl/Makefile    | 1 +
 sys/modules/hid/ietp/Makefile      | 2 +-
 sys/modules/hid/ps4dshock/Makefile | 2 +-
 sys/modules/hid/xb360gp/Makefile   | 1 +
 11 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/sys/modules/hid/bcm5974/Makefile b/sys/modules/hid/bcm5974/Makefile
index 50b51f497d85..9fc663ecf16e 100644
--- a/sys/modules/hid/bcm5974/Makefile
+++ b/sys/modules/hid/bcm5974/Makefile
@@ -3,7 +3,7 @@
 
 KMOD=	bcm5974
 SRCS=	bcm5974.c
-SRCS+=	opt_hid.h opt_usb.h
+SRCS+=	opt_hid.h opt_kbd.h opt_usb.h
 SRCS+=	bus_if.h device_if.h usbdevs.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/hcons/Makefile b/sys/modules/hid/hcons/Makefile
index d012a3f49569..98bb2577d354 100644
--- a/sys/modules/hid/hcons/Makefile
+++ b/sys/modules/hid/hcons/Makefile
@@ -3,6 +3,7 @@
 
 KMOD=	hcons
 SRCS=	hcons.c
+SRCS+=	opt_kbd.h
 SRCS+=	bus_if.h device_if.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/hgame/Makefile b/sys/modules/hid/hgame/Makefile
index 3af829d1e971..641a051ce313 100644
--- a/sys/modules/hid/hgame/Makefile
+++ b/sys/modules/hid/hgame/Makefile
@@ -3,6 +3,7 @@
 
 KMOD=	hgame
 SRCS=	hgame.c
+SRCS+=	opt_kbd.h
 SRCS+=	bus_if.h device_if.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/hidmap/Makefile b/sys/modules/hid/hidmap/Makefile
index f682a39925eb..7f3b0782b1da 100644
--- a/sys/modules/hid/hidmap/Makefile
+++ b/sys/modules/hid/hidmap/Makefile
@@ -3,7 +3,7 @@
 
 KMOD=	hidmap
 SRCS=	hidmap.c
-SRCS+=	opt_hid.h
+SRCS+=	opt_hid.h opt_kbd.h
 SRCS+=	bus_if.h device_if.h
 
 EXPORT_SYMS=	YES
diff --git a/sys/modules/hid/hms/Makefile b/sys/modules/hid/hms/Makefile
index 573757cad525..6ba643caa378 100644
--- a/sys/modules/hid/hms/Makefile
+++ b/sys/modules/hid/hms/Makefile
@@ -3,7 +3,7 @@
 
 KMOD=	hms
 SRCS=	hms.c
-SRCS+=	opt_hid.h
+SRCS+=	opt_hid.h opt_kbd.h
 SRCS+=	bus_if.h device_if.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/hmt/Makefile b/sys/modules/hid/hmt/Makefile
index a96fdd44b311..ab4edc4e9791 100644
--- a/sys/modules/hid/hmt/Makefile
+++ b/sys/modules/hid/hmt/Makefile
@@ -3,7 +3,7 @@
 
 KMOD=	hmt
 SRCS=	hmt.c
-SRCS+=	opt_hid.h
+SRCS+=	opt_hid.h opt_kbd.h
 SRCS+=	bus_if.h device_if.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/hpen/Makefile b/sys/modules/hid/hpen/Makefile
index ed008b43565e..2a4f5858278c 100644
--- a/sys/modules/hid/hpen/Makefile
+++ b/sys/modules/hid/hpen/Makefile
@@ -3,6 +3,7 @@
 
 KMOD=	hpen
 SRCS=	hpen.c
+SRCS+=	opt_kbd.h
 SRCS+=	bus_if.h device_if.h usbdevs.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/hsctrl/Makefile b/sys/modules/hid/hsctrl/Makefile
index 4e0dd5d0c4cc..a88790559c58 100644
--- a/sys/modules/hid/hsctrl/Makefile
+++ b/sys/modules/hid/hsctrl/Makefile
@@ -3,6 +3,7 @@
 
 KMOD=	hsctrl
 SRCS=	hsctrl.c
+SRCS+=	opt_kbd.h
 SRCS+=	bus_if.h device_if.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/ietp/Makefile b/sys/modules/hid/ietp/Makefile
index c3b39e7b7a58..52d221f50984 100644
--- a/sys/modules/hid/ietp/Makefile
+++ b/sys/modules/hid/ietp/Makefile
@@ -3,7 +3,7 @@
 
 KMOD=	ietp
 SRCS=	ietp.c
-SRCS+=	opt_hid.h
+SRCS+=	opt_hid.h opt_kbd.h
 SRCS+=	bus_if.h device_if.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/ps4dshock/Makefile b/sys/modules/hid/ps4dshock/Makefile
index bb12c8a16971..64c066cb7ee1 100644
--- a/sys/modules/hid/ps4dshock/Makefile
+++ b/sys/modules/hid/ps4dshock/Makefile
@@ -3,7 +3,7 @@
 
 KMOD=	ps4dshock
 SRCS=	ps4dshock.c
-SRCS+=	opt_hid.h
+SRCS+=	opt_hid.h opt_kbd.h
 SRCS+=	bus_if.h device_if.h usbdevs.h
 
 .include <bsd.kmod.mk>
diff --git a/sys/modules/hid/xb360gp/Makefile b/sys/modules/hid/xb360gp/Makefile
index 1570a6cfadc9..47d0ca0c7987 100644
--- a/sys/modules/hid/xb360gp/Makefile
+++ b/sys/modules/hid/xb360gp/Makefile
@@ -3,6 +3,7 @@
 
 KMOD=	xb360gp
 SRCS=	xb360gp.c
+SRCS+=	opt_kbd.h
 SRCS+=	bus_if.h device_if.h opt_usb.h
 
 .include <bsd.kmod.mk>