mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
bnxt: Only build on 64-bit platforms
The driver uses bus_space_read_8 and friends, which do not exist on 32-bit i386 and break the build. Sponsored by: Netflix
This commit is contained in:
parent
58d84ef870
commit
75217c2b47
1 changed files with 7 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ SUBDIR= \
|
|||
${_bxe} \
|
||||
${_bios} \
|
||||
${_blake2} \
|
||||
bnxt \
|
||||
${_bnxt} \
|
||||
bridgestp \
|
||||
bwi \
|
||||
bwn \
|
||||
|
|
@ -424,6 +424,12 @@ SUBDIR+= dtrace
|
|||
SUBDIR+= opensolaris
|
||||
.endif
|
||||
|
||||
# Requires bus_space_read_8
|
||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "aarch64" || \
|
||||
${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc64le"
|
||||
_bnxt= bnxt
|
||||
.endif
|
||||
|
||||
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
|
||||
.if exists(${SRCTOP}/sys/opencrypto)
|
||||
_crypto= crypto
|
||||
|
|
|
|||
Loading…
Reference in a new issue