fix braino that broke building on amd64

Submitted by:	Pascal Hofstee
MFC after:	2 weeks
This commit is contained in:
Sam Leffler 2006-05-08 04:04:06 +00:00
parent fcab8addcf
commit f6ad8b0985
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158354

View File

@ -58,8 +58,13 @@ MFILES= kern/bus_if.m kern/device_if.m dev/pci/pci_if.m \
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 ${MACHINE_ARCH} == "amd64"
ATH_MODULE_ARCH=x86_64
.elif ${MACHINE_ARCH} == "sparc64"
ATH_MODULE_ARCH=sparc64-be
.else
ATH_MODULE_ARCH=${MACHINE_ARCH}
.endif
.if defined(HAL_SRC)
.include "${HAL}/freebsd/Makefile.inc"