diff options
Diffstat (limited to 'meta/packages/binutils/binutils-2.17+csl-arm-2006q1-6/binutils-uclibc-100-uclibc-conf.patch')
-rw-r--r-- | meta/packages/binutils/binutils-2.17+csl-arm-2006q1-6/binutils-uclibc-100-uclibc-conf.patch | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-2.17+csl-arm-2006q1-6/binutils-uclibc-100-uclibc-conf.patch b/meta/packages/binutils/binutils-2.17+csl-arm-2006q1-6/binutils-uclibc-100-uclibc-conf.patch new file mode 100644 index 0000000000..25222e5df2 --- /dev/null +++ b/meta/packages/binutils/binutils-2.17+csl-arm-2006q1-6/binutils-uclibc-100-uclibc-conf.patch | |||
@@ -0,0 +1,139 @@ | |||
1 | --- binutils-2.16.91.0.7/bfd/configure | ||
2 | +++ binutils-2.16.91.0.7/bfd/configure | ||
3 | @@ -3576,7 +3576,7 @@ | ||
4 | ;; | ||
5 | |||
6 | # This must be Linux ELF. | ||
7 | -linux-gnu*) | ||
8 | +linux-gnu*|linux-uclibc*) | ||
9 | lt_cv_deplibs_check_method=pass_all | ||
10 | ;; | ||
11 | |||
12 | --- binutils-2.16.91.0.7/binutils/configure | ||
13 | +++ binutils-2.16.91.0.7/binutils/configure | ||
14 | @@ -3411,7 +3411,7 @@ | ||
15 | ;; | ||
16 | |||
17 | # This must be Linux ELF. | ||
18 | -linux-gnu*) | ||
19 | +linux-gnu*|linux-uclibc*) | ||
20 | lt_cv_deplibs_check_method=pass_all | ||
21 | ;; | ||
22 | |||
23 | --- binutils-2.16.91.0.7/configure | ||
24 | +++ binutils-2.16.91.0.7/configure | ||
25 | @@ -1270,7 +1270,7 @@ | ||
26 | am33_2.0-*-linux*) | ||
27 | noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" | ||
28 | ;; | ||
29 | - sh-*-linux*) | ||
30 | + sh*-*-linux*) | ||
31 | noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" | ||
32 | ;; | ||
33 | sh*-*-pe|mips*-*-pe|*arm-wince-pe) | ||
34 | @@ -1578,7 +1578,7 @@ | ||
35 | romp-*-*) | ||
36 | noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" | ||
37 | ;; | ||
38 | - sh-*-* | sh64-*-*) | ||
39 | + sh*-*-* | sh64-*-*) | ||
40 | case "${host}" in | ||
41 | i[3456789]86-*-vsta) ;; # don't add gprof back in | ||
42 | i[3456789]86-*-go32*) ;; # don't add gprof back in | ||
43 | --- binutils-2.16.91.0.7/configure.in | ||
44 | +++ binutils-2.16.91.0.7/configure.in | ||
45 | @@ -468,7 +468,7 @@ | ||
46 | am33_2.0-*-linux*) | ||
47 | noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" | ||
48 | ;; | ||
49 | - sh-*-linux*) | ||
50 | + sh*-*-linux*) | ||
51 | noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" | ||
52 | ;; | ||
53 | sh*-*-pe|mips*-*-pe|*arm-wince-pe) | ||
54 | @@ -776,7 +776,7 @@ | ||
55 | romp-*-*) | ||
56 | noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" | ||
57 | ;; | ||
58 | - sh-*-* | sh64-*-*) | ||
59 | + sh*-*-* | sh64-*-*) | ||
60 | case "${host}" in | ||
61 | i[[3456789]]86-*-vsta) ;; # don't add gprof back in | ||
62 | i[[3456789]]86-*-go32*) ;; # don't add gprof back in | ||
63 | --- binutils-2.16.91.0.7/gas/configure | ||
64 | +++ binutils-2.16.91.0.7/gas/configure | ||
65 | @@ -3411,7 +3411,7 @@ | ||
66 | ;; | ||
67 | |||
68 | # This must be Linux ELF. | ||
69 | -linux-gnu*) | ||
70 | +linux-gnu*|linux-uclibc*) | ||
71 | lt_cv_deplibs_check_method=pass_all | ||
72 | ;; | ||
73 | |||
74 | --- binutils-2.16.91.0.7/gprof/configure | ||
75 | +++ binutils-2.16.91.0.7/gprof/configure | ||
76 | @@ -3419,6 +3419,11 @@ | ||
77 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | ||
78 | ;; | ||
79 | |||
80 | +linux-uclibc*) | ||
81 | + lt_cv_deplibs_check_method=pass_all | ||
82 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
83 | + ;; | ||
84 | + | ||
85 | netbsd* | knetbsd*-gnu) | ||
86 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
87 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
88 | --- binutils-2.16.91.0.7/ld/configure | ||
89 | +++ binutils-2.16.91.0.7/ld/configure | ||
90 | @@ -3413,7 +3413,7 @@ | ||
91 | ;; | ||
92 | |||
93 | # This must be Linux ELF. | ||
94 | -linux-gnu*) | ||
95 | +linux-gnu*|linux-uclibc*) | ||
96 | lt_cv_deplibs_check_method=pass_all | ||
97 | ;; | ||
98 | |||
99 | --- binutils-2.16.91.0.7/libtool.m4 | ||
100 | +++ binutils-2.16.91.0.7/libtool.m4 | ||
101 | @@ -739,7 +739,7 @@ | ||
102 | ;; | ||
103 | |||
104 | # This must be Linux ELF. | ||
105 | -linux-gnu*) | ||
106 | +linux-gnu*|linux-uclibc*) | ||
107 | lt_cv_deplibs_check_method=pass_all | ||
108 | ;; | ||
109 | |||
110 | --- binutils-2.16.91.0.7/ltconfig | ||
111 | +++ binutils-2.16.91.0.7/ltconfig | ||
112 | @@ -602,6 +602,7 @@ | ||
113 | |||
114 | # Transform linux* to *-*-linux-gnu*, to support old configure scripts. | ||
115 | case $host_os in | ||
116 | +linux-uclibc*) ;; | ||
117 | linux-gnu*) ;; | ||
118 | linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | ||
119 | esac | ||
120 | @@ -1247,7 +1248,7 @@ | ||
121 | ;; | ||
122 | |||
123 | # This must be Linux ELF. | ||
124 | -linux-gnu*) | ||
125 | +linux-gnu*|linux-uclibc*) | ||
126 | version_type=linux | ||
127 | need_lib_prefix=no | ||
128 | need_version=no | ||
129 | --- binutils-2.16.91.0.7/opcodes/configure | ||
130 | +++ binutils-2.16.91.0.7/opcodes/configure | ||
131 | @@ -3579,7 +3579,7 @@ | ||
132 | ;; | ||
133 | |||
134 | # This must be Linux ELF. | ||
135 | -linux-gnu*) | ||
136 | +linux-gnu*|linux-uclibc*) | ||
137 | lt_cv_deplibs_check_method=pass_all | ||
138 | ;; | ||
139 | |||