From d538f487970346e450c3aa557ea5d4aba0c314e7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 12 Oct 2015 12:45:43 -0600 Subject: [PATCH] Add dependencies, button and timer example will only work in a flat build --- examples/buttons/Kconfig | 1 + examples/timer/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/buttons/Kconfig b/examples/buttons/Kconfig index 924e27902..b84eb08eb 100644 --- a/examples/buttons/Kconfig +++ b/examples/buttons/Kconfig @@ -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. diff --git a/examples/timer/Kconfig b/examples/timer/Kconfig index 6170f0556..3df21dd0f 100644 --- a/examples/timer/Kconfig +++ b/examples/timer/Kconfig @@ -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