tools/Config.mk: Remove CONFIG_ARCH_BOARD from BOARD_DIR when using a
custom board. Custom boards don't set CONFIG_ARCH_BOARD since the full path is given during configuration. Furthermore this creates problems when when referencing other folders using BOARD_DIR because a trailing DELIM will be present.
This commit is contained in:
parent
336bd8c3a2
commit
708daf2c3d
@ -139,9 +139,9 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_BOARD_CUSTOM),y)
|
ifeq ($(CONFIG_ARCH_BOARD_CUSTOM),y)
|
||||||
ifeq ($(CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH),y)
|
ifeq ($(CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH),y)
|
||||||
BOARD_DIR ?= $(TOPDIR)$(DELIM)$(CONFIG_ARCH_BOARD_CUSTOM_DIR)$(DELIM)$(CONFIG_ARCH_BOARD)
|
BOARD_DIR ?= $(TOPDIR)$(DELIM)$(CONFIG_ARCH_BOARD_CUSTOM_DIR)
|
||||||
else
|
else
|
||||||
BOARD_DIR ?= $(CONFIG_ARCH_BOARD_CUSTOM_DIR)$(DELIM)$(CONFIG_ARCH_BOARD)
|
BOARD_DIR ?= $(CONFIG_ARCH_BOARD_CUSTOM_DIR)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
BOARD_DIR ?= $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)
|
BOARD_DIR ?= $(TOPDIR)$(DELIM)boards$(DELIM)$(CONFIG_ARCH)$(DELIM)$(CONFIG_ARCH_CHIP)$(DELIM)$(CONFIG_ARCH_BOARD)
|
||||||
|
Loading…
Reference in New Issue
Block a user