From patchwork Wed Aug 5 17:00:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 3296 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4BMHvQ0rDbz3x0m for ; Wed, 5 Aug 2020 17:01:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4BMHvN0WTLzmG; Wed, 5 Aug 2020 17:01:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4BMHvM41t7z2xGQ; Wed, 5 Aug 2020 17:01:03 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4BMHvL1HfRz2xB9 for ; Wed, 5 Aug 2020 17:01:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4BMHvK3WMdz1v; Wed, 5 Aug 2020 17:01:01 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1596646861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OOM5nrVofq/M9s4IIQg0tfEC7746DyoqOitUfE9K9lA=; b=A5qguH8Lt8+OTGa9CCqGLbU8vR8LSHYRQls8QndIvXKHB/GkPfm5tF/I4pTVObGC87U+zM Q2Bnr6vMoRj6e7BQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1596646861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OOM5nrVofq/M9s4IIQg0tfEC7746DyoqOitUfE9K9lA=; b=a/jFfIytEk8DzA8fDwjLx9/g8eB3ejtSxbtaCLq5Sd9B+doL6BvLKkOM8aB5F3DzlOn1F2 Y6lDrjd6Pw+XKTDzSGi0qkO8tjpZ44aTXr0ozH0aD3px3HpL0E0LsZeP6SrmspxsFWBQz4 eaGxarAA2EUx7xoAqyLBQ5cEeBwQjvdBDhmr3v6vSsZx1W5xKcAAaiJ29gHrXfvan5cp3A IuzWgN31aO7fPj/tIhGNrtfwtFoc6pUpn+Nzavln/MAGCrdwegDUGFBkfq0WZZsdUzzkmC dCqTHQ+C93kCNyIgzmJMvTSUinK1HCnyaKB67euuw5uzDDwQn2EiIES3HAJVJA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] make.sh: Add cross-building for aarch64 Date: Wed, 5 Aug 2020 17:00:54 +0000 Message-Id: <20200805170054.22723-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- doc/make.sh-usage | 10 +++++----- make.sh | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/make.sh-usage b/doc/make.sh-usage index 78a73efac..5e1e3dd22 100644 --- a/doc/make.sh-usage +++ b/doc/make.sh-usage @@ -16,8 +16,8 @@ Maintainer / advanced commands Options: - --target=[armv5tel|i586] : Cross-compile for this target architecture. - Uses the QEMU emulator if needed to virtualise - the desired target architecture. - Can be permanently set with TARGET_ARCH= in - .config. + --target=[aarch64|armv5tel|i586] : Cross-compile for this target architecture. + Uses the QEMU emulator if needed to virtualise + the desired target architecture. + Can be permanently set with TARGET_ARCH= in + .config. diff --git a/make.sh b/make.sh index a2e54f233..9f94feddb 100755 --- a/make.sh +++ b/make.sh @@ -862,6 +862,9 @@ qemu_find_build_helper_name() { local magic case "${build_arch}" in + aarch64) + magic="7f454c460201010000000000000000000200b700" + ;; arm*) magic="7f454c4601010100000000000000000002002800" ;;