From patchwork Sat May 4 19:54:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Rojek X-Patchwork-Id: 1931396 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=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.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 4VWz0W2LJ5z1ybC for ; Sun, 5 May 2024 05:54:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 0B9F082188; Sat, 4 May 2024 19:54:47 +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 3Bt_ODYievDo; Sat, 4 May 2024 19:54:46 +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 BCC11835D3 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id BCC11835D3; Sat, 4 May 2024 19:54:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 835C01BF836 for ; Sat, 4 May 2024 19:54:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 711C360667 for ; Sat, 4 May 2024 19:54:38 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id U3tlc8sMXqUR for ; Sat, 4 May 2024 19:54:38 +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 smtp3.osuosl.org 855F76068F DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 855F76068F Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp3.osuosl.org (Postfix) with ESMTPS id 855F76068F for ; Sat, 4 May 2024 19:54:37 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 90E8A20009; Sat, 4 May 2024 19:54:34 +0000 (UTC) From: Artur Rojek To: buildroot@buildroot.org Date: Sat, 4 May 2024 21:54:05 +0200 Message-ID: <20240504195407.1409466-3-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: smtp3.osuosl.org; dmarc=none (p=none dis=none) header.from=artur-rojek.eu Subject: [Buildroot] [PATCH 2/4] package/gcc: 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" Allow gcc to build with sh3 variant of the SuperH ISA. Signed-off-by: Artur Rojek Tested-by: socksinspace --- package/gcc/gcc-final/gcc-final.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index 99d7047b5f00..0e0bcc3729d1 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -81,6 +81,8 @@ HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4* else ifeq ($(BR2_sh4a)$(BR2_sh4aeb),y) HOST_GCC_FINAL_CONF_OPTS += "--with-multilib-list=m4a,m4a-nofpu" HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4* +else ifeq ($(BR2_sh3),y) +HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m3* else HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib* endif