Jump to content

Recommended Posts

Posted
3 hours ago, Andrea said:

Can you please help?

 

Use v24.02 or take commit id from there.

Posted

@Andrea in general, old branches are not maintained and builds on old branches are not repeatable.  There are references out to third party sources that change over time.  So as @Igor suggested , you should try with something more recent. (We hope in the future to make builds reproducible, there is work recently to that effect)

Posted

@Andrea if i remember correctly this issue can be resolved using simple patch
 

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: John Doe <john.doe@somewhere.on.planet>
Date: Sat, 9 Mar 2024 18:20:14 +0100
Subject: Patching atf sunxi64 files make_helpers/build_macros.mk

Signed-off-by: John Doe <john.doe@somewhere.on.planet>
---
 make_helpers/build_macros.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk
index a99d51669..cc1270cd8 100644
--- a/make_helpers/build_macros.mk
+++ b/make_helpers/build_macros.mk
@@ -491,11 +491,11 @@ endif

 all: ${LIB_DIR}/lib$(1).a

 ${LIB_DIR}/lib$(1).a: $(OBJS)
        $$(ECHO) "  AR      $$@"
-       $$(Q)$($(ARCH)-ar) cr $$@ $$?
+       $$(Q)$($(ARCH))-ar cr $$@ $$?
 endef

 # Generate the path to one or more preprocessed linker scripts given the paths
 # of their sources.
 #
--
Created with Armbian build tools https://github.com/armbian/build


Error is due to value $($(ARCH)-ar) being set to platform gcc command and not platform ar command.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines