Power off support now depends on CONFIG_ARCH_HAVE_POWEROFF

This commit is contained in:
Gregory Nutt 2015-07-03 06:53:26 -06:00
parent e297b94eae
commit 19f40c4f0f

View File

@ -6,7 +6,7 @@
config SYSTEM_POWEROFF
bool "Power-Off"
default n
depends on LIB_BOARDCTL
depends on LIB_BOARDCTL && ARCH_HAVE_POWEROFF
select BOARDCTL_POWEROFF
---help---
Enable support for the NSH poweroff command. NOTE: This option