aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-12-26 15:37:34 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-12-26 15:37:34 +0000
commitbd8296bd81d55563f7ccafca77b7b74fb219df9e (patch)
tree2626cda75d0ca03fac164ecb35e020916c329791
parentfe74d52de5dca506fe07693ffd6a35140bb55abd (diff)
Build acpi kernel modules on aarch64
For now, the only kernel module built is acpi_ged.ko. Sponsored by: Netflix Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D54315
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/acpi/Makefile6
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 83099c5fff14..138adc30c213 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -579,6 +579,7 @@ _mlx5ib= mlx5ib
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "i386"
+_acpi= acpi
_ena= ena
_gve= gve
_igc= igc
@@ -776,7 +777,6 @@ _wdatwd= wdatwd
_aac= aac
_aacraid= aacraid
-_acpi= acpi
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
_aesni= aesni
.endif
diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile
index 098161e08836..5040187e906f 100644
--- a/sys/modules/acpi/Makefile
+++ b/sys/modules/acpi/Makefile
@@ -1,9 +1,9 @@
+.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
SUBDIR= \
acpi_asus \
acpi_asus_wmi \
acpi_dock \
acpi_fujitsu \
- acpi_ged \
acpi_hp \
acpi_ibm \
acpi_panasonic \
@@ -13,5 +13,9 @@ SUBDIR= \
acpi_video \
acpi_wmi \
aibs
+.endif
+
+SUBDIR+= \
+ acpi_ged
.include <bsd.subdir.mk>