modules: enable allwinner kmods on riscv

While here, standardize the place they are enabled in the Makefile. For
armv7 the module subdirectory was added explicitly in the config file,
but this is not idiomatic.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mitchell Horne
2024-09-18 14:19:16 -03:00
parent 3ed48eb085
commit 5522519731
3 changed files with 1 additions and 3 deletions
-1
View File
@@ -272,5 +272,4 @@ makeoptions MODULES_EXTRA+="dtb/rpi"
makeoptions MODULES_EXTRA+="dtb/zynq"
# SOC-specific modules
makeoptions MODULES_EXTRA+="allwinner"
makeoptions MODULES_EXTRA+="imx"
-1
View File
@@ -94,7 +94,6 @@ nodevice bnxt
# Build SOC-specific modules...
makeoptions MODULES_EXTRA+="allwinner"
makeoptions MODULES_EXTRA+="imx"
# Build dtb files...
+1 -1
View File
@@ -680,6 +680,7 @@ _irdma= irdma
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
${MACHINE_CPUARCH} == "riscv"
.if !empty(OPT_FDT)
_allwinner= allwinner
_if_cgem= if_cgem
.endif
.endif
@@ -713,7 +714,6 @@ _hyperv= hyperv
_vf_i2c= vf_i2c
.if !empty(OPT_FDT)
_allwinner= allwinner
_dwwdt= dwwdt
_enetc= enetc
_felix= felix