Clarify the error message when trying to build an ACPI module on amd64

or ia64.

The old message implied to me that ACPI can't be compiled in on platforms
other than amd64 and ia64.  The amd64@ mailing list archive has messages
from users with the same confusion.

Approved by:	scottl
This commit is contained in:
Ed Maste 2006-11-10 20:06:03 +00:00
parent 62efe23a82
commit 6d6da6898a

View File

@ -1,7 +1,7 @@
# $FreeBSD$
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
.error "ACPI can only be compiled into the kernel on the amd64 and ia64 platforms"
.error "ACPI must be compiled in (not built as a module) on amd64 and ia64"
.endif
.if ${MACHINE} != "i386"