summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/3.4.1/100-uclibc-conf.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-13 23:34:27 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-13 23:34:27 +0000
commit300f6c278183f0cdfcd3daec7376d771f40a430d (patch)
treeee56fed51391ecf8eadf8e8d86419e243cb73d18 /toolchain/gcc/3.4.1/100-uclibc-conf.patch
parent52c9508f27c765c893f73b0ece1724c8d7bfd5e4 (diff)
downloadbuildroot-novena-300f6c278183f0cdfcd3daec7376d771f40a430d.tar.gz
buildroot-novena-300f6c278183f0cdfcd3daec7376d771f40a430d.zip
fix config scripts for sh
Diffstat (limited to 'toolchain/gcc/3.4.1/100-uclibc-conf.patch')
-rw-r--r--toolchain/gcc/3.4.1/100-uclibc-conf.patch13
1 files changed, 11 insertions, 2 deletions
diff --git a/toolchain/gcc/3.4.1/100-uclibc-conf.patch b/toolchain/gcc/3.4.1/100-uclibc-conf.patch
index c7752129c..28449e7c8 100644
--- a/toolchain/gcc/3.4.1/100-uclibc-conf.patch
+++ b/toolchain/gcc/3.4.1/100-uclibc-conf.patch
@@ -361,14 +361,23 @@ diff -urN gcc-3.4.1-dist/gcc/config.gcc gcc-3.4.1/gcc/config.gcc
powerpc-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
+@@ -1916,7 +1945,7 @@
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
+ ;;
+ sh-*-linux* | sh[2346lbe]*-*-linux*)
+- tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver t-linux"
++ tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver"
+ case ${target} in
+ sh*be-*-* | sh*eb-*-*) ;;
+ *)
@@ -1924,9 +1953,17 @@
tmake_file="${tmake_file} sh/t-le"
;;
esac
- tmake_file="${tmake_file} sh/t-linux"
+ case ${target} in
-+ *-*-linux-uclibc*) tmake_file="${tmake_file} sh/t-linux-uclibc" ;;
-+ *) tmake_file="${tmake_file} sh/t-linux" ;;
++ *-*-linux-uclibc*) tmake_file="${tmake_file} t-linux-uclibc sh/t-linux-uclibc" ;;
++ *) tmake_file="${tmake_file} t-linux sh/t-linux" ;;
+ esac
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
case ${target} in