File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11$(info --- FILE : thingino.mk)
22
3+ # Define qstrip if not already defined (usually defined by Buildroot)
4+ qstrip ?= $(strip $(subst ",,$(1 ) ) )
5+
36SIZE_1G := 1073741824
47SIZE_512M := 536870912
58SIZE_256M := 268435456
@@ -508,10 +511,10 @@ export KERNEL_VERSION_4
508511# IMAGE SENSOR
509512#
510513
511- SENSOR_1_MODEL = $(strip $( subst ",, $(BR2_SENSOR_1_NAME ) ) )
512- SENSOR_2_MODEL = $(strip $( subst ",, $(BR2_SENSOR_2_NAME ) ) )
513- SENSOR_3_MODEL = $(strip $( subst ",, $(BR2_SENSOR_3_NAME ) ) )
514- SENSOR_4_MODEL = $(strip $( subst ",, $(BR2_SENSOR_4_NAME ) ) )
514+ SENSOR_1_MODEL : = $(call qstrip, $(BR2_SENSOR_1_NAME ) )
515+ SENSOR_2_MODEL : = $(call qstrip, $(BR2_SENSOR_2_NAME ) )
516+ SENSOR_3_MODEL : = $(call qstrip, $(BR2_SENSOR_3_NAME ) )
517+ SENSOR_4_MODEL : = $(call qstrip, $(BR2_SENSOR_4_NAME ) )
515518
516519# Filter out "none" values
517520ifeq ($(SENSOR_1_MODEL ) ,none)
You can’t perform that action at this time.
0 commit comments