git: 010175a76d06 - main - modules: Add missing opt_*.h files for stand-alone compile

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 29 Oct 2022 16:34:00 UTC
The branch main has been updated by imp:

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

commit 010175a76d0676ff8d9b8d54276aff093abbc3f2
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-10-29 14:49:20 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-10-29 16:18:06 +0000

    modules: Add missing opt_*.h files for stand-alone compile
    
    Standalone compile that we at least create these opt_*.h files.
    
    Sponsored by:           Netflix
---
 sys/modules/linux/Makefile        | 1 +
 sys/modules/linux64/Makefile      | 1 +
 sys/modules/linux_common/Makefile | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 2cd7c54cd216..5f39ece3adb2 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -35,6 +35,7 @@ SRCS=	linux${SFX}_dummy_machdep.c \
 	linux_vdso.c \
 	opt_compat.h \
 	opt_inet6.h \
+	opt_ktrace.h \
 	opt_posix.h \
 	opt_usb.h \
 	bus_if.h \
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile
index ef6644c3deb7..0857f4e7126f 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -30,6 +30,7 @@ SRCS=	linux_dummy_machdep.c \
 	linux_vdso.c \
 	linux_timer.c \
 	opt_compat.h \
+	opt_ktrace.h \
 	opt_inet6.h \
 	opt_posix.h \
 	opt_usb.h \
diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile
index 6e67e7ab2578..a3ceacc244a4 100644
--- a/sys/modules/linux_common/Makefile
+++ b/sys/modules/linux_common/Makefile
@@ -5,7 +5,7 @@
 KMOD=	linux_common
 SRCS=	linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
 	linux_dummy.c linux_errno.c linux_netlink.c \
-	linux.c device_if.h vnode_if.h bus_if.h opt_inet6.h
+	linux.c device_if.h vnode_if.h bus_if.h opt_inet6.h opt_inet.h
 
 .if ${MACHINE_CPUARCH} == "amd64"
 SRCS+=	linux_x86.c linux_vdso_selector_x86.c