Files
buildroot/package/binutils/2.46.1/0001-sh-conf.patch
2026-06-16 18:49:59 +02:00

53 lines
1.4 KiB
Diff

From 0bf75276c392cac7794e78e1572abcd793d99e4e Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@gmail.com>
Date: Fri, 25 Dec 2015 11:38:13 +0100
Subject: [PATCH] sh-conf
Likewise, binutils has no idea about any of these new targets either, so we
fix that up too.. now we're able to actually build a real toolchain for
sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more
inept targets than that one, really. Go look, I promise).
Upstream: N/A [Buildroot specific]
[Romain: rebase on top of 2.32]
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: rebase on top of 2.29, in which sh64 support was removed.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Bernd: rebased for version 2.46.0]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
configure | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index bbfb5979546..bcd95684ae1 100755
--- a/configure
+++ b/configure
@@ -4196,7 +4196,7 @@
nvptx*-*-*)
noconfigdirs="$noconfigdirs target-libssp"
;;
- sh-*-*)
+ sh*-*-*)
case "${target}" in
sh*-*-elf)
;;
diff --git a/configure.ac b/configure.ac
index f9694cdf901..d6a3623ba50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1365,7 +1365,7 @@
nvptx*-*-*)
noconfigdirs="$noconfigdirs target-libssp"
;;
- sh-*-*)
+ sh*-*-*)
case "${target}" in
sh*-*-elf)
;;
--
2.51.1