Add dependencies, button and timer example will only work in a flat build

This commit is contained in:
Gregory Nutt 2015-10-12 12:45:43 -06:00
parent 5f4060ce1e
commit d538f48797
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
config EXAMPLES_BUTTONS
bool "Buttons example"
default n
depends on ARCH_BUTTONS && BUILD_FLAT
---help---
Enable the buttons example. May require ARCH_BUTTONS on some boards.

View File

@ -6,7 +6,7 @@
config EXAMPLES_TIMER
bool "Timer example"
default n
depends on TIMER
depends on TIMER && BUILD_FLAT
---help---
Enable the \"Timer, World!\" example