git: b2516469fed2 - stable/15 - Build acpi kernel modules on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Apr 2026 15:29:04 UTC
The branch stable/15 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b2516469fed27d8d664b74340ce21bf1b77ecec0
commit b2516469fed27d8d664b74340ce21bf1b77ecec0
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-12-26 15:37:34 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-04-24 15:26:38 +0000
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
(cherry picked from commit bd8296bd81d55563f7ccafca77b7b74fb219df9e)
---
sys/modules/Makefile | 2 +-
sys/modules/acpi/Makefile | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 204f604166e0..cb18bb07b8ab 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -587,6 +587,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>