tools/Config.mk: Unquote the custom board path before using it in

Makefile functions.
This commit is contained in:
Ouss4 2020-07-29 17:01:52 +01:00 committed by Xiang Xiao
parent 708daf2c3d
commit e79298bc34

View File

@ -138,10 +138,11 @@ endif
# Process board-specific directories
ifeq ($(CONFIG_ARCH_BOARD_CUSTOM),y)
CUSTOM_DIR = $(patsubst "%",%,$(CONFIG_ARCH_BOARD_CUSTOM_DIR))
ifeq ($(CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH),y)
BOARD_DIR ?= $(TOPDIR)$(DELIM)$(CONFIG_ARCH_BOARD_CUSTOM_DIR)
BOARD_DIR ?= $(TOPDIR)$(DELIM)$(CUSTOM_DIR)
else
BOARD_DIR ?= $(CONFIG_ARCH_BOARD_CUSTOM_DIR)
BOARD_DIR ?= $(CUSTOM_DIR)
endif
else
BOARD_DIR ?= $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)