From: Ivan Grokhotkov Date: Wed, 18 Oct 2017 12:43:43 +0000 (+0800) Subject: build system: fix warning about undefined variable 'quote' X-Git-Tag: v3.1-dev~148^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b52e3fae64ca235c3fbada80d7b1ca608a6fefee;p=esp-idf build system: fix warning about undefined variable 'quote' --- diff --git a/components/partition_table/Makefile.projbuild b/components/partition_table/Makefile.projbuild index 97819aa8d1..ddcd8471bd 100644 --- a/components/partition_table/Makefile.projbuild +++ b/components/partition_table/Makefile.projbuild @@ -19,8 +19,9 @@ ifneq ("$(CONFIG_PARTITION_TABLE_FILENAME)","") ifndef PARTITION_TABLE_CSV_PATH # Path to partition CSV file is relative to project path for custom -# partition CSV files, but relative to component dir otherwise.$ +# partition CSV files, but relative to component dir otherwise. PARTITION_TABLE_ROOT := $(call dequote,$(if $(CONFIG_PARTITION_TABLE_CUSTOM),$(PROJECT_PATH),$(COMPONENT_PATH))) +quote := " PARTITION_TABLE_CSV_PATH := $(call dequote,$(abspath $(PARTITION_TABLE_ROOT)/$(subst $(quote),,$(CONFIG_PARTITION_TABLE_FILENAME)))) endif