apps/platform masks the assumption that the board directory in in-tree
This commit is contained in:
parent
9cdff3ad6e
commit
1c82d1d4a6
@ -60,8 +60,13 @@ endif
|
||||
|
||||
PLATFORMDIR = $(APPDIR)$(DELIM)platform$(DELIM)board
|
||||
DUMMYDIR = $(APPDIR)$(DELIM)platform$(DELIM)dummy
|
||||
BOARDDIR = $(APPDIR)$(DELIM)platform$(DELIM)$(CONFIG_ARCH_BOARD)
|
||||
LINKDIR = $(if $(wildcard $(BOARDDIR)$(DELIM)Make.defs),$(BOARDDIR),$(DUMMYDIR))
|
||||
|
||||
ifeq ($(CONFIG_ARCH_BOARD_CUSTOM),y)
|
||||
LINKDIR = $(DUMMYDIR)
|
||||
else
|
||||
BOARDDIR = $(APPDIR)$(DELIM)platform$(DELIM)$(CONFIG_ARCH_BOARD)
|
||||
LINKDIR = $(if $(wildcard $(BOARDDIR)$(DELIM)Make.defs),$(BOARDDIR),$(DUMMYDIR))
|
||||
endif
|
||||
|
||||
VPATH = board
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user