mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
794cefd3e3
Remove the backported patches and add another to allow building with the OpenWrt build system. Signed-off-by: Andre Heider <a.heider@gmail.com>
22 lines
1.6 KiB
Diff
22 lines
1.6 KiB
Diff
We're not building with full fledged git checkouts here, get rid of the
|
|
overzealous checks.
|
|
|
|
--- a/plat/marvell/armada/a3k/common/a3700_common.mk
|
|
+++ b/plat/marvell/armada/a3k/common/a3700_common.mk
|
|
@@ -78,7 +78,6 @@ ifdef WTP
|
|
|
|
# Do not remove! Following checks are required to ensure correct TF-A builds, removing these checks leads to broken TF-A builds
|
|
$(if $(wildcard $(value WTP)/*),,$(error "'WTP=$(value WTP)' was specified, but '$(value WTP)' directory does not exist"))
|
|
-$(if $(shell git -C $(value WTP) rev-parse --show-cdup 2>&1),$(error "'WTP=$(value WTP)' was specified, but '$(value WTP)' does not contain valid A3700-utils-marvell git repository"))
|
|
|
|
TBB := $(WTP)/wtptp/src/TBB_Linux/release/TBB_linux
|
|
|
|
@@ -164,7 +163,6 @@ $(TIMDDRTOOL): FORCE
|
|
# Do not remove! Following checks are required to ensure correct TF-A builds, removing these checks leads to broken TF-A builds
|
|
$(if $(value MV_DDR_PATH),,$(error "Platform '${PLAT}' for ddr tool requires MV_DDR_PATH. Please set MV_DDR_PATH to point to the right directory"))
|
|
$(if $(wildcard $(value MV_DDR_PATH)/*),,$(error "'MV_DDR_PATH=$(value MV_DDR_PATH)' was specified, but '$(value MV_DDR_PATH)' directory does not exist"))
|
|
- $(if $(shell git -C $(value MV_DDR_PATH) rev-parse --show-cdup 2>&1),$(error "'MV_DDR_PATH=$(value MV_DDR_PATH)' was specified, but '$(value MV_DDR_PATH)' does not contain valid mv-ddr-marvell git repository"))
|
|
$(Q)$(MAKE) --no-print-directory -C $(WTP) MV_DDR_PATH=$(MV_DDR_PATH) DDR_TOPOLOGY=$(DDR_TOPOLOGY) mv_ddr
|
|
|
|
$(BUILD_PLAT)/$(UART_IMAGE): $(BUILD_PLAT)/$(BOOT_IMAGE) $(BUILD_PLAT)/wtmi.bin $(TBB) $(TIMBUILD) $(TIMDDRTOOL)
|