1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Warn users that acpi.ko is deprecated and exit immediately unless the user

set FORCE_BUILD.  This is to avoid foot-shooting while making MFC to stable
branches easier.

Discussed with:	jhb
This commit is contained in:
Jung-uk Kim 2010-11-12 21:11:49 +00:00
parent a3c464fb3c
commit 729850d919
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215201

View File

@ -1,5 +1,9 @@
# $FreeBSD$
.if !defined(FORCE_BUILD)
.error "The ACPI module is deprecated, set FORCE_BUILD to force it"
.endif
.if ${MACHINE_CPUARCH} == "ia64"
.error "ACPI can only be compiled into the kernel on the ia64 platform"
.endif