diff options
author | scottl <scottl@FreeBSD.org> | 2004-11-14 20:53:17 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2004-11-14 20:53:17 +0000 |
commit | 4b4f25fcb11f7218c227b1739da241a430536d91 (patch) | |
tree | 21dab95f5a14fc72aaebdbf9cadfd913450a8bfa /sys/modules/acpi | |
parent | 5e446cf7039751e34858c61f01c77042b9ab47cd (diff) | |
download | FreeBSD-src-4b4f25fcb11f7218c227b1739da241a430536d91.zip FreeBSD-src-4b4f25fcb11f7218c227b1739da241a430536d91.tar.gz |
Make it clear that the acpi modules can only be compiled on i386.
Diffstat (limited to 'sys/modules/acpi')
-rw-r--r-- | sys/modules/acpi/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile index 8d5b9ae..7ef3745 100644 --- a/sys/modules/acpi/Makefile +++ b/sys/modules/acpi/Makefile @@ -1,5 +1,13 @@ # $FreeBSD$ +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" +.error "ACPI can only be compiled into the kernel on the amd64 and ia64 platforms" +.endif + +.if ${MACHINE_ARCH} != "i386" +.error "The ACPI module is only for i386" +.endif + SUBDIR= acpi acpi_asus acpi_panasonic acpi_snc acpi_toshiba acpi_video .include <bsd.subdir.mk> |