mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
modules: gpioaei only on ACPI-supporting archs
Fixes: 9709bda03cd0 ("GPIO: Add ACPI _AEI support")
Pointy-hat to: cperciva
Sponsored by: Amazon
(cherry picked from commit 6540ac118473dde29cb02f786c79c64f73834ca1)
This commit is contained in:
parent
c2cd78d944
commit
5a53843aef
1 changed files with 5 additions and 1 deletions
|
|
@ -24,10 +24,14 @@
|
|||
# SUCH DAMAGE.
|
||||
#
|
||||
|
||||
SUBDIR = gpioaei gpiobus gpioiic gpioled gpiospi gpioths
|
||||
SUBDIR = gpiobus gpioiic gpioled gpiospi gpioths
|
||||
|
||||
.if !empty(OPT_FDT)
|
||||
SUBDIR += gpiokeys gpiopps
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
|
||||
SUBDIR += gpioaei
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue