Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2010 21:11:49 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r215201 - head/sys/modules/acpi/acpi
Message-ID:  <201011122111.oACLBnui023597@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011122111.oACLBnui023597>