git: 9996c680d12a - main - sys/modules/hid/*: Fix standalone build

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Fri, 29 Nov 2024 07:08:45 UTC
The branch main has been updated by lwhsu:

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

commit 9996c680d12a6245d808bc8def1d2411e736efd6
Author:     SHENG-YI HONG <aokblast@FreeBSD.org>
AuthorDate: 2024-11-29 06:59:21 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-11-29 07:08:08 +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
---
 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 803a43c96107..5fdf39fb9649 100644
--- a/sys/modules/hid/bcm5974/Makefile
+++ b/sys/modules/hid/bcm5974/Makefile
@@ -2,7 +2,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 d020ba08a22b..56edefb9fe9c 100644
--- a/sys/modules/hid/hcons/Makefile
+++ b/sys/modules/hid/hcons/Makefile
@@ -2,6 +2,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 a9d6dadbdbc6..7cf7cd858340 100644
--- a/sys/modules/hid/hgame/Makefile
+++ b/sys/modules/hid/hgame/Makefile
@@ -2,6 +2,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 9be54e725d45..07e817a19197 100644
--- a/sys/modules/hid/hidmap/Makefile
+++ b/sys/modules/hid/hidmap/Makefile
@@ -2,7 +2,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 0c6e9c1b1ec2..014ecd7048bd 100644
--- a/sys/modules/hid/hms/Makefile
+++ b/sys/modules/hid/hms/Makefile
@@ -2,7 +2,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 0f46acba198c..36d9068bc7a7 100644
--- a/sys/modules/hid/hmt/Makefile
+++ b/sys/modules/hid/hmt/Makefile
@@ -2,7 +2,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 e1db07a9c3f8..a693f36d5d79 100644
--- a/sys/modules/hid/hpen/Makefile
+++ b/sys/modules/hid/hpen/Makefile
@@ -2,6 +2,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 68984958895e..f2ec2d99c881 100644
--- a/sys/modules/hid/hsctrl/Makefile
+++ b/sys/modules/hid/hsctrl/Makefile
@@ -2,6 +2,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 1b8baf36ec80..5270701e480a 100644
--- a/sys/modules/hid/ietp/Makefile
+++ b/sys/modules/hid/ietp/Makefile
@@ -2,7 +2,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 0b00f16ca98c..0ecf31c3bc42 100644
--- a/sys/modules/hid/ps4dshock/Makefile
+++ b/sys/modules/hid/ps4dshock/Makefile
@@ -2,7 +2,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 3cc846292e67..f5a9df8baa9d 100644
--- a/sys/modules/hid/xb360gp/Makefile
+++ b/sys/modules/hid/xb360gp/Makefile
@@ -2,6 +2,7 @@
 
 KMOD=	xb360gp
 SRCS=	xb360gp.c
+SRCS+=	opt_kbd.h
 SRCS+=	bus_if.h device_if.h opt_usb.h
 
 .include <bsd.kmod.mk>