building all-gcc for bfin-linux-uclibc results in

build/genchecksum cp/cp-lang.o c-family/stub-objc.o ... glibc-c.o \
libbackend.a .. > cc1plus-checksum.c.tmp
opening glibc-c.o: No such file or directory
make[2]: *** [cc1-checksum.c] Error 1

Fix this by prepending tmake_file which nowadays consists of t-slibgcc
t-linux t-glibc. Remove the already listed tmake_file entries.

Fixes all-gcc config-list.mk build for bfin-linux-uclibc.
Ok for trunk?

gcc/ChangeLog

        PR target/55144
        * config.gcc (bfin*-linux-uclibc*): Prepend tmake_file and
        remove already contained t-files.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot....@gmail.com>
Cc: Bernd Schmidt <ber...@codesourcery.com>
Cc: Jie Zhang <jzhang...@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot....@gmail.com>
---
 gcc/config.gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index cb08a5c..ddbd57b 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1118,7 +1118,7 @@ bfin*-uclinux*)
        ;;
 bfin*-linux-uclibc*)
        tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h 
glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h"
-       tmake_file="bfin/t-bfin-linux t-slibgcc t-linux"
+       tmake_file="${tmake_file} bfin/t-bfin-linux"
        use_collect2=no
        ;;
 bfin*-rtems*)
-- 
2.1.4

Reply via email to