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

app makefiles: set CONFIG_* variables where applicable

parent 5f3c3ed4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -5,14 +5,11 @@
# Only load .config when app/arch are not specified on commandline
ifneq (${app}, )
	CONFIG_app = ${app}
	CONFIG_arch = ${arch}
else
	-include .config
endif

ifneq (${arch}, )
	CONFIG_arch = ${arch}
endif

# Make cannot include "foo"/Makefile.inc, so remove quotes from config entries
quote="
app_dir = $(subst ${quote},,${CONFIG_app})
+1 −1
Original line number Diff line number Diff line
@@ -5,6 +5,6 @@
# SPDX-License-Identifier: CC0-1.0

ifdef app
	override loop = 1
	CONFIG_loop = y
	override arch_drivers += ,neopixel
endif
+3 −2
Original line number Diff line number Diff line
@@ -5,9 +5,10 @@
# SPDX-License-Identifier: CC0-1.0

ifdef app
	override loop = 1
	CONFIG_loop = y
	override arch_drivers += ,i2c
	override drivers += ,bme680,max44009
	CONFIG_driver_bme680 = y
	CONFIG_driver_max44009 = y
endif

COMMON_FLAGS += -DBME680_FLOAT_POINT_COMPENSATION
+1 −1
Original line number Diff line number Diff line
@@ -6,5 +6,5 @@

ifdef app
	override arch_drivers += ,adc,i2c
	override drivers += ,mpu9250
	CONFIG_driver_mpu9250 = y
endif
+2 −2
Original line number Diff line number Diff line
@@ -6,6 +6,6 @@

ifdef app
	override arch_drivers += ,i2c
	override drivers += ,ccs811
	override loop = 1
	CONFIG_driver_ccS811 = y
	CONFIG_loop = y
endif
Loading