From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJKb5-0004j1-P6 for barebox@lists.infradead.org; Tue, 31 Mar 2020 17:22:45 +0000 Received: by mail-pj1-x1042.google.com with SMTP id o12so1352906pjs.2 for ; Tue, 31 Mar 2020 10:22:43 -0700 (PDT) From: Andrey Smirnov Date: Tue, 31 Mar 2020 10:22:33 -0700 Message-Id: <20200331172233.9493-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] kbuild: Allow building with ARCH set to "arm64" To: Barebox List Cc: Andrey Smirnov Allow building with ARCH set to "arm64" so that Barebox for AArch64 can be built with same environment settings one would use for building Linux kernel. Signed-off-by: Andrey Smirnov --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 3b42769bb..55679cc81 100644 --- a/Makefile +++ b/Makefile @@ -163,6 +163,10 @@ export srctree objtree VPATH # Alternatively CROSS_COMPILE can be set in the environment. # Default value for CROSS_COMPILE is not to prefix executables +ifeq ($(ARCH),arm64) +ARCH = arm +endif + ARCH ?= sandbox CROSS_COMPILE ?= -- 2.21.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox