diff options
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r-- | sys/modules/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 5315d518afd8..feb9778c23da 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -395,6 +395,7 @@ SUBDIR= \ sysvipc \ tarfs \ tcp \ + ${_thunderbolt} \ ${_ti} \ tmpfs \ ${_toecore} \ @@ -576,7 +577,10 @@ _mlx5ib= mlx5ib ${MACHINE_CPUARCH} == "i386" _ena= ena _gve= gve +# gcc13 and earlier lack __builtin_bitcountg used by linux emulation +.if !(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 140000) _iwlwifi= iwlwifi +.endif _rtw88= rtw88 _rtw89= rtw89 _vmware= vmware @@ -922,6 +926,10 @@ _bcm283x_clkman= bcm283x_clkman _bcm283x_pwm= bcm283x_pwm .endif +.if ${MACHINE_CPUARCH} == "amd64" +_thunderbolt= thunderbolt +.endif + .if !(${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 110000) # LLVM 10 crashes when building if_malo_pci.c, fixed in LLVM11: # https://bugs.llvm.org/show_bug.cgi?id=44351 |