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:
@@ -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"
|
||||
|
||||
@@ -94,7 +94,6 @@ nodevice bnxt
|
||||
|
||||
# Build SOC-specific modules...
|
||||
|
||||
makeoptions MODULES_EXTRA+="allwinner"
|
||||
makeoptions MODULES_EXTRA+="imx"
|
||||
|
||||
# Build dtb files...
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user