diff options
| author | Takanori Watanabe <takawata@FreeBSD.org> | 2006-12-18 05:54:50 +0000 |
|---|---|---|
| committer | Takanori Watanabe <takawata@FreeBSD.org> | 2006-12-18 05:54:50 +0000 |
| commit | eed294f1905154b32b3e04271125588cf0c4bb0e (patch) | |
| tree | d1b011744b4ee8d44a504ec46a9f94b432c48106 /sys/modules | |
| parent | 2c298b17e356824bc55c2b45e7c6d12b1b4ec63d (diff) | |
Notes
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/acpi/Makefile | 10 | ||||
| -rw-r--r-- | sys/modules/acpi/acpi/Makefile | 5 |
2 files changed, 8 insertions, 7 deletions
diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile index 11c1dd714b8f4..70d761a082b85 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> diff --git a/sys/modules/acpi/acpi/Makefile b/sys/modules/acpi/acpi/Makefile index 4672eb37b91dd..b79fd4f517b76 100644 --- a/sys/modules/acpi/acpi/Makefile +++ b/sys/modules/acpi/acpi/Makefile @@ -1,5 +1,10 @@ # $FreeBSD$ +.if ${MACHINE} != "i386" +.error "The ACPI module is only for i386" +.endif + + .PATH: ${.CURDIR}/../../../contrib/dev/acpica \ ${.CURDIR}/../../../pci \ ${.CURDIR}/../../../dev/acpica \ |
