Commit 9ce7f32f authored by Mike Frysinger's avatar Mike Frysinger
Browse files

make superh target a bit more flexible

parent c182c2e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -360,7 +360,7 @@ diff -urN gcc-3.4.1-dist/gcc/config.gcc gcc-3.4.1/gcc/config.gcc
-	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
+	*-*-linux-uclibc*) tmake_file="${tmake_file} t-linux-uclibc" ;;
+	*-linux-uclibc*) tmake_file="${tmake_file} t-linux-uclibc" ;;
+	*) tmake_file="${tmake_file} t-linux" ;;
+	esac
 	case ${target} in