tools/Config.mk: Unquote the custom board path before using it in
Makefile functions.
This commit is contained in:
parent
708daf2c3d
commit
e79298bc34
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue