diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-11-05 14:04:23 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-11-05 14:04:23 +0100 |
commit | c45354687f93c651441e8a9abeb21b16140de581 (patch) | |
tree | 232c6d7b49cd5affb102c640519937ab786d7111 | |
parent | 960d7042d2152d3f8016def1be72da2db06cff87 (diff) |
Makefiles: Fix arch_drivers and drivers overides/additions
+= does not work for variables specified on the commandline unless
the 'override' keyword is used
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/app/ccs811test/Makefile.inc | 4 | ||||
-rw-r--r-- | src/app/countertest/Makefile.inc | 2 | ||||
-rw-r--r-- | src/app/mpu9250_motionlog/Makefile.inc | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -145,7 +145,7 @@ ifeq (${i2c_pullup}, gpio) endif ifeq (${softi2c_timer}, 1) - arch_drivers += ,timer + override arch_drivers += ,timer COMMON_FLAGS += -DSOFTI2C_TIMER endif 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 |