kernel: differentiate board-specific components

Components like kernel, core, and bootstrap that are built for a
specific board need to reside inside the same architectural dependent
build directory. For instance there are sel4, foc, and hw kernel builds
for imx6q_sabrelite and imx7d_sabre, which have to reside inside the same
arm_v7 build directory.
This commit names those components explicitely, and adapts the run-tool to it.

Fix #3316
This commit is contained in:
Stefan Kalkowski
2019-05-09 14:04:03 +02:00
committed by Christian Helmuth
parent c43267dbaa
commit a1e70b9ba4
71 changed files with 124 additions and 117 deletions

View File

@ -1,4 +1,6 @@
LIBS := core-hw
CORE_OBJ := core-hw.o
BOARD ?= unknown
TARGET := core_hw_$(BOARD)
LIBS := core-hw-$(BOARD)
CORE_OBJ := core-hw-$(BOARD).o
include $(BASE_DIR)/src/core/target.inc