diff options
author | Warner Losh <imp@FreeBSD.org> | 2024-10-12 20:40:41 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2024-10-12 20:40:41 +0000 |
commit | 1a37caeb076b9d31e13c54691d7f1eeb589798bb (patch) | |
tree | 17adb265e2b89d2f55ee44a42030e84c6dc07c30 /sys | |
parent | 4584c8f0ef54e19f7be79aeee1ba1c1154af14e1 (diff) |
modules: Add missing opt_*.h files for stand-alone compile
Standalone compile that we at least create these opt_*.h files.
Sponsored by: Netflix
Diffstat (limited to 'sys')
-rw-r--r-- | sys/modules/linux/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/linux64/Makefile | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index eb4e17ec706b..36dfbbe2192f 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -33,6 +33,7 @@ SRCS= linux${SFX}_dummy_machdep.c \ linux_uid16.c \ linux_vdso.c \ linux_xattr.c \ + opt_compat.h \ opt_inet.h \ opt_inet6.h \ opt_ktrace.h \ @@ -41,6 +42,7 @@ SRCS= linux${SFX}_dummy_machdep.c \ bus_if.h \ device_if.h \ vnode_if.h + .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" SRCS+= linux_dummy_x86.c VDSODEPS=linux_vdso_gettc_x86.inc diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile index b23891a65a4f..119d90126ab3 100644 --- a/sys/modules/linux64/Makefile +++ b/sys/modules/linux64/Makefile @@ -28,14 +28,17 @@ SRCS= linux_dummy_machdep.c \ linux_vdso.c \ linux_timer.c \ linux_xattr.c \ - opt_ktrace.h \ + opt_compat.h \ opt_inet6.h \ + opt_ktrace.h \ opt_posix.h \ + opt_usb.h \ bus_if.h \ device_if.h \ vnode_if.h \ linux_support.S \ linux_vdso_inc.S + .if ${MACHINE_CPUARCH} == "amd64" SRCS+= linux_dummy_x86.c .endif |