git: c4bffce34f55 - main - ufshci: Add to build on arm64 and aarch64

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 15 Jun 2025 06:09:40 UTC
The branch main has been updated by imp:

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

commit c4bffce34f55abb240087cc0bea17ebef1680fca
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-06-15 06:07:41 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-06-15 06:08:56 +0000

    ufshci: Add to build on arm64 and aarch64
    
    Add UFS Host Controller Itnerface driver to the build.
    
    Sponsored by:           Netflix
---
 sys/modules/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index d60f7352f58d..35cf17be109f 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -401,6 +401,7 @@ SUBDIR=	\
 	udf \
 	udf_iconv \
 	ufs \
+	${_ufshci} \
 	uinput \
 	unionfs \
 	usb \
@@ -917,6 +918,10 @@ _bcm283x_pwm=  bcm283x_pwm
 _malo=	malo
 .endif
 
+.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "aarch64"
+_ufshci=ufshci
+.endif
+
 SUBDIR+=${MODULES_EXTRA}
 
 .for reject in ${WITHOUT_MODULES}