aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-10-29 14:49:20 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2023-02-26 08:10:43 +0000
commitcb182d5f52c163e4b3e5fda6633432224d4a6176 (patch)
treed470de5f63d5b2642e237ebaa1580f56180932e5
parent994eb2fb8a901c883f2bd24fa29c6cd513cb4340 (diff)
downloadsrc-cb182d5f52c163e4b3e5fda6633432224d4a6176.tar.gz
src-cb182d5f52c163e4b3e5fda6633432224d4a6176.zip
modules: Add missing opt_*.h files for stand-alone compile
Standalone compile that we at least create these opt_*.h files. Sponsored by: Netflix (cherry picked from commit 010175a76d0676ff8d9b8d54276aff093abbc3f2)
-rw-r--r--sys/modules/linux/Makefile1
-rw-r--r--sys/modules/linux64/Makefile1
-rw-r--r--sys/modules/linux_common/Makefile2
3 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index fad03e8a8ca0..dd6536f1c174 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -36,6 +36,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 204cfe5059e5..7ebb56ba6473 100644
--- a/sys/modules/linux_common/Makefile
+++ b/sys/modules/linux_common/Makefile
@@ -8,7 +8,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