diff --git a/sys/modules/ath_hal/Makefile b/sys/modules/ath_hal/Makefile index 1507d139b94..f1cf9fca22d 100644 --- a/sys/modules/ath_hal/Makefile +++ b/sys/modules/ath_hal/Makefile @@ -59,6 +59,7 @@ CFLAGS+= -I. -I${HAL}/freebsd -I${HAL} # patch for hal naming difference ATH_MODULE_ARCH=${MACHINE_ARCH:S/amd64/x86_64/} +ATH_MODULE_ARCH=${MACHINE_ARCH:S/sparc64/sparc64-be/} .if defined(HAL_SRC) .include "${HAL}/freebsd/Makefile.inc"