From patchwork Sat May 4 19:54:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Rojek X-Patchwork-Id: 1931395 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VWz0S3sD9z1ybC for ; Sun, 5 May 2024 05:54:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B6AF3820AC; Sat, 4 May 2024 19:54:43 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 1ZmlCjlpSXTt; Sat, 4 May 2024 19:54:42 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 8DEEF821BF Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 8DEEF821BF; Sat, 4 May 2024 19:54:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 192F31BF836 for ; Sat, 4 May 2024 19:54:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0495A407A5 for ; Sat, 4 May 2024 19:54:38 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Ow9la0gHZBns for ; Sat, 4 May 2024 19:54:37 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=217.70.183.200; helo=relay7-d.mail.gandi.net; envelope-from=contact@artur-rojek.eu; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org EA0FD40674 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org EA0FD40674 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp4.osuosl.org (Postfix) with ESMTPS id EA0FD40674 for ; Sat, 4 May 2024 19:54:36 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 51CCE20003; Sat, 4 May 2024 19:54:33 +0000 (UTC) From: Artur Rojek To: buildroot@buildroot.org Date: Sat, 4 May 2024 21:54:04 +0200 Message-ID: <20240504195407.1409466-2-contact@artur-rojek.eu> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240504195407.1409466-1-contact@artur-rojek.eu> References: <20240504195407.1409466-1-contact@artur-rojek.eu> MIME-Version: 1.0 X-GND-Sasl: contact@artur-rojek.eu X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=none (p=none dis=none) header.from=artur-rojek.eu Subject: [Buildroot] [PATCH 1/4] arch: reintroduce sh3 support X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Artur Rojek , Paul Cercueil , Julien Olivain , Thomas Petazzoni , John Paul Adrian Glaubitz , Romain Naour , Giulio Benetti Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" This restores support for the little-endian SH3 based CPUs. Signed-off-by: Artur Rojek Tested-by: socksinspace --- arch/Config.in.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/Config.in.sh b/arch/Config.in.sh index d3acc8ccf8e6..686789265e04 100644 --- a/arch/Config.in.sh +++ b/arch/Config.in.sh @@ -13,9 +13,13 @@ config BR2_sh4a bool "sh4a (SH4A little endian)" config BR2_sh4aeb bool "sh4aeb (SH4A big endian)" +config BR2_sh3 + bool "sh3 (SH3 little endian)" + select BR2_SOFT_FLOAT endchoice config BR2_ARCH + default "sh3" if BR2_sh3 default "sh4" if BR2_sh4 default "sh4eb" if BR2_sh4eb default "sh4a" if BR2_sh4a @@ -25,7 +29,7 @@ config BR2_NORMALIZED_ARCH default "sh" config BR2_ENDIAN - default "LITTLE" if BR2_sh4 || BR2_sh4a + default "LITTLE" if BR2_sh3 || BR2_sh4 || BR2_sh4a default "BIG" if BR2_sh4eb || BR2_sh4aeb config BR2_READELF_ARCH_NAME