diff options
author | Pali Rohár <pali@kernel.org> | 2021-07-10 17:15:01 +0200 |
---|---|---|
committer | Pali Rohár <pali@kernel.org> | 2021-07-10 18:24:43 +0200 |
commit | 04738e69917f8e8790bf4cf83ceb05f85e1f45bb (patch) | |
tree | 778ed8b13c5d8f0a5f82c6f722c02f842adb0ba8 /plat/marvell/armada/a8k/common | |
parent | 559ab2df4a35cd82b2a67a0bebeb3028544a6766 (diff) | |
download | arm-trusted-firmware-04738e69917f8e8790bf4cf83ceb05f85e1f45bb.tar.gz |
fix(plat/marvell/a8k): Add missing build dependency for BLE target
BLE source files depend on external Marvell mv-ddr-marvell tree
(specified in $(MV_DDR_PATH) variable) and its header files. Add
dependency on $(MV_DDR_LIB) target which checks that variable
$(MV_DDR_PATH) is correctly set and ensures that make completes
compilation of mv-ddr-marvell tree.
Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: I73968b24c45d9af1e3500b8db7a24bb4eb2bfa47
Diffstat (limited to 'plat/marvell/armada/a8k/common')
-rw-r--r-- | plat/marvell/armada/a8k/common/ble/ble.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/marvell/armada/a8k/common/ble/ble.mk b/plat/marvell/armada/a8k/common/ble/ble.mk index 19ef5b6ac..87e2ce020 100644 --- a/plat/marvell/armada/a8k/common/ble/ble.mk +++ b/plat/marvell/armada/a8k/common/ble/ble.mk @@ -25,6 +25,7 @@ BLE_LINKERFILE := $(BLE_PATH)/ble.ld.S BLE_OBJS := $(addprefix $(BUILD_PLAT)/ble/,$(call SOURCES_TO_OBJS,$(BLE_SOURCES))) $(BLE_OBJS): PLAT_INCLUDES += -I$(MV_DDR_PATH) +$(BLE_OBJS): $(MV_DDR_LIB) $(MV_DDR_LIB): FORCE $(if $(value MV_DDR_PATH),,$(error "Platform '$(PLAT)' for BLE requires MV_DDR_PATH. Please set MV_DDR_PATH to point to the right directory")) |