diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2015-01-26 08:04:38 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2015-01-26 08:04:38 +0000 |
commit | 4a0ea4d6981376214ddd08e6e596e6d49c1905ab (patch) | |
tree | d6b3f83b2abd582871c96c6bb815c6a1d7de3e4c | |
parent | 61940879ef0c8626c7902604546f8318795ad465 (diff) | |
download | src-4a0ea4d6981376214ddd08e6e596e6d49c1905ab.tar.gz src-4a0ea4d6981376214ddd08e6e596e6d49c1905ab.zip |
Honor MK_ACPI in etc/devd and etc/rc.d
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=277730
-rw-r--r-- | etc/devd/Makefile | 4 | ||||
-rw-r--r-- | etc/rc.d/Makefile | 5 | ||||
-rw-r--r-- | tools/build/mk/OptionalObsoleteFiles.inc | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/etc/devd/Makefile b/etc/devd/Makefile index 27dfb92f1711..a0909af08918 100644 --- a/etc/devd/Makefile +++ b/etc/devd/Makefile @@ -2,12 +2,16 @@ .include <src.opts.mk> +FILES= + .if ${MACHINE} == "powerpc" FILES+= apple.conf .endif .if ${MACHINE} == "amd64" || ${MACHINE} == "i386" +.if ${MK_ACPI} != "no" FILES+= asus.conf +.endif .if ${MK_HYPERV} != "no" FILES+= hyperv.conf .endif diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index 2586cbf2d602..237456628917 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -103,7 +103,6 @@ FILES= DAEMON \ pflog \ pfsync \ powerd \ - power_profile \ ppp \ pppoed \ pwcheck \ @@ -155,6 +154,10 @@ FILES= DAEMON \ zfs \ zvol +.if ${MK_ACPI} != "no" +FILES+= power_profile +.endif + .if ${MK_AUTOFS} != "no" FILES+= automount FILES+= automountd diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index b80ca61abe00..06aae91ca645 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -14,6 +14,8 @@ OLD_FILES+=usr/share/man/man8/sa.8.gz .endif .if ${MK_ACPI} == no +OLD_FILES+=etc/devd/asus.conf +OLD_FILES+=etc/rc.d/power_profile OLD_FILES+=usr/sbin/acpiconf OLD_FILES+=usr/sbin/acpidb OLD_FILES+=usr/sbin/acpidump |