summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-26 08:04:38 +0000
committerngie <ngie@FreeBSD.org>2015-01-26 08:04:38 +0000
commit947503ce8d6d8e0f6c731b76d64c7c6b05d37156 (patch)
treed6b3f83b2abd582871c96c6bb815c6a1d7de3e4c /etc
parentd0577f7c5ada6cfdfaa17575d6e787f3155bad06 (diff)
downloadFreeBSD-src-947503ce8d6d8e0f6c731b76d64c7c6b05d37156.zip
FreeBSD-src-947503ce8d6d8e0f6c731b76d64c7c6b05d37156.tar.gz
Honor MK_ACPI in etc/devd and etc/rc.d
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'etc')
-rw-r--r--etc/devd/Makefile4
-rw-r--r--etc/rc.d/Makefile5
2 files changed, 8 insertions, 1 deletions
diff --git a/etc/devd/Makefile b/etc/devd/Makefile
index 27dfb92..a0909af 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 2586cbf..2374566 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
OpenPOWER on IntegriCloud