Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/Makefile
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | SUBDIR= \ | ||||
i2c \ | i2c \ | ||||
${_iavf} \ | ${_iavf} \ | ||||
${_ibcore} \ | ${_ibcore} \ | ||||
${_ichwd} \ | ${_ichwd} \ | ||||
${_ice} \ | ${_ice} \ | ||||
${_ice_ddp} \ | ${_ice_ddp} \ | ||||
${_ida} \ | ${_ida} \ | ||||
if_bridge \ | if_bridge \ | ||||
${_if_cgem} \ | |||||
if_disc \ | if_disc \ | ||||
if_edsc \ | if_edsc \ | ||||
${_if_enc} \ | ${_if_enc} \ | ||||
if_epair \ | if_epair \ | ||||
${_if_gif} \ | ${_if_gif} \ | ||||
${_if_gre} \ | ${_if_gre} \ | ||||
${_if_me} \ | ${_if_me} \ | ||||
if_infiniband \ | if_infiniband \ | ||||
▲ Show 20 Lines • Show All 410 Lines • ▼ Show 20 Lines | |||||
_cxgbe= cxgbe | _cxgbe= cxgbe | ||||
.endif | .endif | ||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm64" || ${MACHINE_ARCH:Mpowerpc64*} | .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm64" || ${MACHINE_ARCH:Mpowerpc64*} | ||||
_ice= ice | _ice= ice | ||||
.if ${MK_SOURCELESS_UCODE} != "no" | .if ${MK_SOURCELESS_UCODE} != "no" | ||||
_ice_ddp= ice_ddp | _ice_ddp= ice_ddp | ||||
.endif | .endif | ||||
.endif | |||||
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \ | |||||
${MACHINE_CPUARCH} == "riscv" | |||||
_if_cgem= if_cgem | |||||
.endif | .endif | ||||
# These rely on 64bit atomics | # These rely on 64bit atomics | ||||
.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" | .if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" | ||||
_mps= mps | _mps= mps | ||||
_mpr= mpr | _mpr= mpr | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 216 Lines • ▼ Show 20 Lines | |||||
_nvram+= powermac_nvram | _nvram+= powermac_nvram | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.if ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "aarch64" | .if ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "aarch64" | ||||
_bcm283x_clkman= bcm283x_clkman | _bcm283x_clkman= bcm283x_clkman | ||||
_bcm283x_pwm= bcm283x_pwm | _bcm283x_pwm= bcm283x_pwm | ||||
.endif | .endif | ||||
mhorne: I would place this block elsewhere in the file, but admittedly the file is a bit of a mess. I… | |||||
Done Inline ActionsProbably this place was chosen because similar .if blocks are already there, so this one is just 'one more like this' item. I have no idea if it could be done some other way, maybe better, but it works. If something else is proposed instead, I'll test it. bsd_dino.sk: Probably this place was chosen because similar .if blocks are already there, so this one is… | |||||
.if !(${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 110000) | .if !(${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 110000) | ||||
# LLVM 10 crashes when building if_malo_pci.c, fixed in LLVM11: | # LLVM 10 crashes when building if_malo_pci.c, fixed in LLVM11: | ||||
# https://bugs.llvm.org/show_bug.cgi?id=44351 | # https://bugs.llvm.org/show_bug.cgi?id=44351 | ||||
_malo= malo | _malo= malo | ||||
.endif | .endif | ||||
SUBDIR+=${MODULES_EXTRA} | SUBDIR+=${MODULES_EXTRA} | ||||
Show All 18 Lines |
I would place this block elsewhere in the file, but admittedly the file is a bit of a mess. I can do this before commit.