Only install etc/devd/asus.conf if MK_ACPI == yes

This commit is contained in:
Enji Cooper 2014-12-02 19:02:39 +00:00
parent c415effcef
commit 488ced8671
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/building-blocks/; revision=275419
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -15,6 +15,7 @@ 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