Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Build fails while compiling ATF ("cannot find cr")

Featured Replies

@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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.