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
This commit is contained in:
parent
559ab2df4a
commit
04738e6991
|
@ -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 := $(addprefix $(BUILD_PLAT)/ble/,$(call SOURCES_TO_OBJS,$(BLE_SOURCES)))
|
||||||
$(BLE_OBJS): PLAT_INCLUDES += -I$(MV_DDR_PATH)
|
$(BLE_OBJS): PLAT_INCLUDES += -I$(MV_DDR_PATH)
|
||||||
|
$(BLE_OBJS): $(MV_DDR_LIB)
|
||||||
|
|
||||||
$(MV_DDR_LIB): FORCE
|
$(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"))
|
$(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"))
|
||||||
|
|
Loading…
Reference in New Issue