Skip to content

Commit

Permalink
modules: gpioaei only on ACPI-supporting archs
Browse files Browse the repository at this point in the history
Fixes:	9709bda ("GPIO: Add ACPI _AEI support")
Pointy-hat to:	cperciva
Sponsored by:	Amazon
  • Loading branch information
cperciva committed Oct 31, 2024
1 parent 9709bda commit 6540ac1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sys/modules/gpio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 6540ac1

Please sign in to comment.