summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-11-05 14:04:23 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2019-11-05 14:04:23 +0100
commitc45354687f93c651441e8a9abeb21b16140de581 (patch)
tree232c6d7b49cd5affb102c640519937ab786d7111 /src
parent960d7042d2152d3f8016def1be72da2db06cff87 (diff)
Makefiles: Fix arch_drivers and drivers overides/additions
+= does not work for variables specified on the commandline unless the 'override' keyword is used
Diffstat (limited to 'src')
-rw-r--r--src/app/ccs811test/Makefile.inc4
-rw-r--r--src/app/countertest/Makefile.inc2
-rw-r--r--src/app/mpu9250_motionlog/Makefile.inc2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/app/ccs811test/Makefile.inc b/src/app/ccs811test/Makefile.inc
index b6920c9..4889e55 100644
--- a/src/app/ccs811test/Makefile.inc
+++ b/src/app/ccs811test/Makefile.inc
@@ -1,3 +1,3 @@
-arch_drivers += ,i2c
-drivers += ,ccs811
+override arch_drivers += ,i2c
+override drivers += ,ccs811
loop ?= 1
diff --git a/src/app/countertest/Makefile.inc b/src/app/countertest/Makefile.inc
index 7e15c58..f8a5514 100644
--- a/src/app/countertest/Makefile.inc
+++ b/src/app/countertest/Makefile.inc
@@ -1,2 +1,2 @@
loop ?= 1
-arch_drivers += ,counter
+override arch_drivers += ,counter
diff --git a/src/app/mpu9250_motionlog/Makefile.inc b/src/app/mpu9250_motionlog/Makefile.inc
index e273aaa..5da92be 100644
--- a/src/app/mpu9250_motionlog/Makefile.inc
+++ b/src/app/mpu9250_motionlog/Makefile.inc
@@ -1,2 +1,2 @@
arch_drivers += ,i2c
-drivers += ,mpu9250
+override drivers += ,mpu9250