0001-build-plat-marvell-allow-building-with-non-git-mv-dd.patch 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. From 70be9272d8d8b8e205fc60b41704d470a6798e36 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@arm.com>
  3. Date: Tue, 8 Apr 2025 13:27:53 +0200
  4. Subject: [PATCH] build(plat/marvell): allow building with non-git
  5. mv-ddr-marvell
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. When the mv-ddr-marvell folder is not a git tree the build fails
  10. complaining that it "does not contain valid mv-ddr-marvell git
  11. repository".
  12. Remove this check to allow building in Buildroot.
  13. Upstream: Not applicable. Buildroot specific.
  14. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
  15. ---
  16. plat/marvell/armada/a8k/common/ble/ble.mk | 1 -
  17. 1 file changed, 1 deletion(-)
  18. diff --git a/plat/marvell/armada/a8k/common/ble/ble.mk b/plat/marvell/armada/a8k/common/ble/ble.mk
  19. index 752ab419d2..78de01686c 100644
  20. --- a/plat/marvell/armada/a8k/common/ble/ble.mk
  21. +++ b/plat/marvell/armada/a8k/common/ble/ble.mk
  22. @@ -31,5 +31,4 @@ $(MV_DDR_LIB): FORCE
  23. # Do not remove! Following checks are required to ensure correct TF-A builds, removing these checks leads to broken TF-A builds
  24. $(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"))
  25. $(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"))
  26. - $(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"))
  27. @+make -C $(MV_DDR_PATH) --no-print-directory PLAT_INCLUDES="$(MV_DDR_INCLUDES)" PLATFORM=$(PLAT) ARCH=AARCH64 OBJ_DIR=$(BUILD_PLAT)/ble
  28. --
  29. 2.48.1