summaryrefslogtreecommitdiffstats
path: root/sys/modules/acpi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/acpi/Makefile')
-rw-r--r--sys/modules/acpi/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile
index 11c1dd7..70d761a 100644
--- a/sys/modules/acpi/Makefile
+++ b/sys/modules/acpi/Makefile
@@ -1,14 +1,10 @@
# $FreeBSD$
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
-.error "ACPI must be compiled in (not built as a module) on amd64 and ia64"
+.if ${MACHINE} == "i386"
+SUBDIR= acpi
.endif
-.if ${MACHINE} != "i386"
-.error "The ACPI module is only for i386"
-.endif
-
-SUBDIR= acpi acpi_aiboost acpi_asus acpi_fujitsu acpi_ibm \
+SUBDIR+= acpi_aiboost acpi_asus acpi_fujitsu acpi_ibm \
acpi_panasonic acpi_sony acpi_toshiba acpi_video acpi_dock
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud