Commit c4535468 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

Makefiles: Fix arch_drivers and drivers overides/additions

+= does not work for variables specified on the commandline unless
the 'override' keyword is used
parent 960d7042
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

+2 −2
Original line number Diff line number Diff line
arch_drivers += ,i2c
drivers += ,ccs811
override arch_drivers += ,i2c
override drivers += ,ccs811
loop ?= 1
+1 −1
Original line number Diff line number Diff line
loop ?= 1
arch_drivers += ,counter
override arch_drivers += ,counter
+1 −1
Original line number Diff line number Diff line
arch_drivers += ,i2c
drivers += ,mpu9250
override drivers += ,mpu9250