Hook acpi gadget driver modules to other acpi archs.

This commit is contained in:
takawata 2006-12-18 05:54:50 +00:00
parent 4c594cbb04
commit eba5c4adb4
2 changed files with 8 additions and 7 deletions

View File

@ -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>

View File

@ -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 \