diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch new file mode 100644 index 0000000000..3f627c691e --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | --- binutils-2.18.orig/configure | ||
4 | +++ binutils-2.18/configure | ||
5 | @@ -2206,7 +2206,7 @@ | ||
6 | am33_2.0-*-linux*) | ||
7 | noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" | ||
8 | ;; | ||
9 | - sh-*-linux*) | ||
10 | + sh*-*-linux*) | ||
11 | noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" | ||
12 | ;; | ||
13 | sh*-*-pe|mips*-*-pe|*arm-wince-pe) | ||
14 | @@ -2504,7 +2504,7 @@ | ||
15 | romp-*-*) | ||
16 | noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" | ||
17 | ;; | ||
18 | - sh-*-* | sh64-*-*) | ||
19 | + sh*-*-* | sh64-*-*) | ||
20 | case "${host}" in | ||
21 | i[3456789]86-*-vsta) ;; # don't add gprof back in | ||
22 | i[3456789]86-*-go32*) ;; # don't add gprof back in | ||
23 | --- binutils-2.18.orig/gprof/configure | ||
24 | +++ binutils-2.18/gprof/configure | ||
25 | @@ -4124,6 +4124,11 @@ | ||
26 | lt_cv_deplibs_check_method=pass_all | ||
27 | ;; | ||
28 | |||
29 | +linux-uclibc*) | ||
30 | + lt_cv_deplibs_check_method=pass_all | ||
31 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
32 | + ;; | ||
33 | + | ||
34 | netbsd*) | ||
35 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | ||
36 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | ||