mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-16 01:17:01 +02:00
As a preparation for upcoming support for CN9130 platform, which is classified as OcteonTx2 product but inherits functionality from a8k, allow to use a8k_common.mk and mss_common.mk from outside of PLAT_FAMILY_BASE. Above is done by introducing BOARD_DIR which needs to be set by each platform, before including a8k_common.mk and mss_common.mk. This will allow to use mentioned mk files not only for platforms located under previously defined PLAT_FAMILY_BASE. Change-Id: I22356c99bc0419a40ae11e42f37acd50943ea134 Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
21 lines
518 B
Makefile
21 lines
518 B
Makefile
#
|
|
# Copyright (C) 2018 Marvell International Ltd.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
# https://spdx.org/licenses
|
|
#
|
|
|
|
|
|
PLAT_MARVELL := plat/marvell/armada
|
|
MSS_SOURCE := $(PLAT_MARVELL)/common/mss
|
|
|
|
BL2_SOURCES += $(MSS_SOURCE)/mss_scp_bootloader.c \
|
|
$(PLAT_MARVELL)/common/plat_delay_timer.c \
|
|
drivers/delay_timer/delay_timer.c \
|
|
$(MARVELL_DRV) \
|
|
$(BOARD_DIR)/board/marvell_plat_config.c
|
|
|
|
BL31_SOURCES += $(MSS_SOURCE)/mss_ipc_drv.c
|
|
|
|
PLAT_INCLUDES += -I$(MSS_SOURCE)
|