1# Copyright (C) 2018 Marvell International Ltd. 2# 3# SPDX-License-Identifier: BSD-3-Clause 4# https://spdx.org/licenses 5 6MV_DDR_PATH ?= drivers/marvell/mv_ddr 7 8MV_DDR_LIB = $(BUILD_PLAT)/ble/mv_ddr_lib.a 9LIBC_LIB = $(BUILD_PLAT)/lib/libc.a 10BLE_LIBS = $(MV_DDR_LIB) $(LIBC_LIB) 11PLAT_MARVELL = plat/marvell/armada 12 13BLE_SOURCES += $(BLE_PATH)/ble_main.c \ 14 $(BLE_PATH)/ble_mem.S \ 15 drivers/delay_timer/delay_timer.c \ 16 $(PLAT_MARVELL)/common/aarch64/marvell_helpers.S \ 17 $(PLAT_MARVELL)/common/plat_delay_timer.c \ 18 $(PLAT_MARVELL)/common/marvell_console.c 19 20PLAT_INCLUDES += -I$(MV_DDR_PATH) \ 21 -I$(CURDIR)/include \ 22 -I$(CURDIR)/include/arch/aarch64 \ 23 -I$(CURDIR)/include/lib/libc \ 24 -I$(CURDIR)/include/lib/libc/aarch64 \ 25 -I$(CURDIR)/drivers/marvell 26 27BLE_LINKERFILE := $(BLE_PATH)/ble.ld.S 28 29$(MV_DDR_LIB): FORCE 30 @+make -C $(MV_DDR_PATH) --no-print-directory PLAT_INCLUDES="$(PLAT_INCLUDES)" PLATFORM=$(PLAT) ARCH=AARCH64 OBJ_DIR=$(BUILD_PLAT)/ble 31