summaryrefslogtreecommitdiff
path: root/src/app/aemr
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/aemr')
-rw-r--r--src/app/aemr/Kconfig2
-rw-r--r--src/app/aemr/Makefile.inc4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/app/aemr/Kconfig b/src/app/aemr/Kconfig
new file mode 100644
index 0000000..9c5fc80
--- /dev/null
+++ b/src/app/aemr/Kconfig
@@ -0,0 +1,2 @@
+prompt "Automatic Energy Model Refinement"
+depends on !loop && !wakeup
diff --git a/src/app/aemr/Makefile.inc b/src/app/aemr/Makefile.inc
index 6e2dda3..7ed7630 100644
--- a/src/app/aemr/Makefile.inc
+++ b/src/app/aemr/Makefile.inc
@@ -1 +1,3 @@
-override arch_drivers += ,counter
+ifdef app
+ override arch_drivers += ,counter
+endif