The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=bd8296bd81d55563f7ccafca77b7b74fb219df9e

commit bd8296bd81d55563f7ccafca77b7b74fb219df9e
Author:     John Baldwin <[email protected]>
AuthorDate: 2025-12-26 15:37:34 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2025-12-26 15:37:34 +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
---
 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 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>

Reply via email to