svn commit: r215201 - head/sys/modules/acpi/acpi
Jung-uk Kim
jkim at FreeBSD.org
Fri Nov 12 21:11:50 UTC 2010
Author: jkim
Date: Fri Nov 12 21:11:49 2010
New Revision: 215201
URL: http://svn.freebsd.org/changeset/base/215201
Log:
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
Modified:
head/sys/modules/acpi/acpi/Makefile
Modified: head/sys/modules/acpi/acpi/Makefile
==============================================================================
--- head/sys/modules/acpi/acpi/Makefile Fri Nov 12 20:55:14 2010 (r215200)
+++ head/sys/modules/acpi/acpi/Makefile Fri Nov 12 21:11:49 2010 (r215201)
@@ -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
More information about the svn-src-head
mailing list