diff options
author | jkim <jkim@FreeBSD.org> | 2010-11-12 21:11:49 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-11-12 21:11:49 +0000 |
commit | 7319cd0aa4b9390836eb5807dd29cbc9d1a4563e (patch) | |
tree | a09100fd18f0f4689216b17331277cbc684cf2a4 /sys/modules | |
parent | 72feb3913ec09b0f61b90759628f79e92b2ea450 (diff) | |
download | FreeBSD-src-7319cd0aa4b9390836eb5807dd29cbc9d1a4563e.zip FreeBSD-src-7319cd0aa4b9390836eb5807dd29cbc9d1a4563e.tar.gz |
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
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/acpi/acpi/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/acpi/acpi/Makefile b/sys/modules/acpi/acpi/Makefile index 9953e0c..8cb3ee5 100644 --- a/sys/modules/acpi/acpi/Makefile +++ b/sys/modules/acpi/acpi/Makefile @@ -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 |