freebsd-dev/sys/modules/acpi/Makefile
Ed Maste 6d6da6898a 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
2006-11-10 20:06:03 +00:00

15 lines
379 B
Makefile

# $FreeBSD$
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
.error "ACPI must be compiled in (not built as a module) on amd64 and ia64"
.endif
.if ${MACHINE} != "i386"
.error "The ACPI module is only for i386"
.endif
SUBDIR= acpi acpi_aiboost acpi_asus acpi_fujitsu acpi_ibm \
acpi_panasonic acpi_sony acpi_toshiba acpi_video acpi_dock
.include <bsd.subdir.mk>