From 8870ad58b6ed2a93786326a41c61dc54470ab6a3 Mon Sep 17 00:00:00 2001
From: Andre Heider <a.heider@gmail.com>
Date: Wed, 23 Sep 2020 02:59:47 +0200
Subject: [PATCH] uboot-mvebu: don't install 64bit binaries

u-boot binaries are not useful for these boards, they need to be combined
with atf for a proper firmware.

Signed-off-by: Andre Heider <a.heider@gmail.com>
---
 package/boot/uboot-mvebu/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/boot/uboot-mvebu/Makefile b/package/boot/uboot-mvebu/Makefile
index 903b9da5ff..25dd2526e5 100644
--- a/package/boot/uboot-mvebu/Makefile
+++ b/package/boot/uboot-mvebu/Makefile
@@ -70,6 +70,10 @@ define Build/Configure
 	$(call Build/Configure/U-Boot)
 endef
 
+define Package/u-boot/install
+	$(if $(findstring cortexa53,$(BUILD_SUBTARGET)),,$(Package/u-boot/install/default))
+endef
+
 define Build/InstallDev
 	$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
 	$(CP) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-$(UBOOT_IMAGE)
-- 
2.30.2