diff options
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r-- | sys/modules/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 5315d518afd8..63a0b3260e6d 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -395,6 +395,7 @@ SUBDIR= \ sysvipc \ tarfs \ tcp \ + ${_thunderbolt} \ ${_ti} \ tmpfs \ ${_toecore} \ @@ -576,7 +577,11 @@ _mlx5ib= mlx5ib ${MACHINE_CPUARCH} == "i386" _ena= ena _gve= gve +_igc= igc +# 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 @@ -743,7 +748,6 @@ _et= et _ftgpio= ftgpio _ftwd= ftwd _exca= exca -_igc= igc _io= io _itwd= itwd _ix= ix @@ -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 |