summaryrefslogtreecommitdiff
path: root/src/app/ledblink
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/ledblink')
-rw-r--r--src/app/ledblink/Kconfig2
-rw-r--r--src/app/ledblink/Makefile.inc4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/app/ledblink/Kconfig b/src/app/ledblink/Kconfig
new file mode 100644
index 0000000..0075bf8
--- /dev/null
+++ b/src/app/ledblink/Kconfig
@@ -0,0 +1,2 @@
+prompt "LED Blink"
+depends on loop && !wakeup
diff --git a/src/app/ledblink/Makefile.inc b/src/app/ledblink/Makefile.inc
index 2cb8a42..ec71d40 100644
--- a/src/app/ledblink/Makefile.inc
+++ b/src/app/ledblink/Makefile.inc
@@ -1 +1,3 @@
-loop ?= 1
+ifdef app
+ override loop = 1
+endif