mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
build: allow EXCLUDE_COMPONENTS to contain quotes
'dequote' macro can’t be used at this point yet, use subst directly. Also prevent EXCLUDE_COMPONENTS from being passed to bootloader build.
This commit is contained in:
parent
9b1876a458
commit
b2f498f7da
@ -32,7 +32,8 @@ BOOTLOADER_MAKE= +\
|
|||||||
V=$(V) \
|
V=$(V) \
|
||||||
BUILD_DIR_BASE=$(BOOTLOADER_BUILD_DIR) \
|
BUILD_DIR_BASE=$(BOOTLOADER_BUILD_DIR) \
|
||||||
TEST_COMPONENTS= \
|
TEST_COMPONENTS= \
|
||||||
TESTS_ALL=
|
TESTS_ALL= \
|
||||||
|
EXCLUDE_COMPONENTS=
|
||||||
|
|
||||||
.PHONY: bootloader-clean bootloader-flash bootloader-list-components bootloader $(BOOTLOADER_BIN)
|
.PHONY: bootloader-clean bootloader-flash bootloader-list-components bootloader $(BOOTLOADER_BIN)
|
||||||
|
|
||||||
|
@ -153,7 +153,8 @@ COMPONENTS := $(sort $(foreach comp,$(COMPONENTS),$(lastword $(subst /, ,$(comp)
|
|||||||
endif
|
endif
|
||||||
# After a full manifest of component names is determined, subtract the ones explicitly omitted by the project Makefile.
|
# After a full manifest of component names is determined, subtract the ones explicitly omitted by the project Makefile.
|
||||||
ifdef EXCLUDE_COMPONENTS
|
ifdef EXCLUDE_COMPONENTS
|
||||||
COMPONENTS := $(filter-out $(EXCLUDE_COMPONENTS), $(COMPONENTS))
|
COMPONENTS := $(filter-out $(subst ",,$(EXCLUDE_COMPONENTS)), $(COMPONENTS))
|
||||||
|
# to keep syntax highlighters happy: "))
|
||||||
endif
|
endif
|
||||||
export COMPONENTS
|
export COMPONENTS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user