install externally compiled kernel-specific packages into the kernel-specific root
[openwrt.git] / toolchain / binutils / 2.16.90.0.1 / 100-uclibc-conf.patch
1 diff -ur binutils-2.16.90.0.1.orig/bfd/configure binutils-2.16.90.0.1/bfd/configure
2 --- binutils-2.16.90.0.1.orig/bfd/configure 2005-04-11 02:19:41.000000000 -0400
3 +++ binutils-2.16.90.0.1/bfd/configure 2005-04-11 02:19:54.000000000 -0400
4 @@ -3584,6 +3584,11 @@
5 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
6 ;;
7
8 +linux-uclibc*)
9 + lt_cv_deplibs_check_method=pass_all
10 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
11 + ;;
12 +
13 netbsd* | knetbsd*-gnu)
14 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
16 diff -ur binutils-2.16.90.0.1.orig/binutils/configure binutils-2.16.90.0.1/binutils/configure
17 --- binutils-2.16.90.0.1.orig/binutils/configure 2005-04-11 02:19:42.000000000 -0400
18 +++ binutils-2.16.90.0.1/binutils/configure 2005-04-11 02:19:54.000000000 -0400
19 @@ -1555,6 +1555,11 @@
20 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
21 ;;
22
23 +linux-uclibc*)
24 + lt_cv_deplibs_check_method=pass_all
25 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
26 + ;;
27 +
28 netbsd* | knetbsd*-gnu)
29 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
30 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
31 diff -ur binutils-2.16.90.0.1.orig/gas/configure binutils-2.16.90.0.1/gas/configure
32 --- binutils-2.16.90.0.1.orig/gas/configure 2005-04-11 02:19:42.000000000 -0400
33 +++ binutils-2.16.90.0.1/gas/configure 2005-04-11 02:19:54.000000000 -0400
34 @@ -3421,6 +3421,11 @@
35 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
36 ;;
37
38 +linux-uclibc*)
39 + lt_cv_deplibs_check_method=pass_all
40 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
41 + ;;
42 +
43 netbsd* | knetbsd*-gnu)
44 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
45 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
46 diff -ur binutils-2.16.90.0.1.orig/gprof/configure binutils-2.16.90.0.1/gprof/configure
47 --- binutils-2.16.90.0.1.orig/gprof/configure 2005-04-11 02:19:43.000000000 -0400
48 +++ binutils-2.16.90.0.1/gprof/configure 2005-04-11 02:19:54.000000000 -0400
49 @@ -3419,6 +3419,11 @@
50 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
51 ;;
52
53 +linux-uclibc*)
54 + lt_cv_deplibs_check_method=pass_all
55 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
56 + ;;
57 +
58 netbsd* | knetbsd*-gnu)
59 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
60 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
61 diff -ur binutils-2.16.90.0.1.orig/ld/configure binutils-2.16.90.0.1/ld/configure
62 --- binutils-2.16.90.0.1.orig/ld/configure 2005-04-11 02:19:43.000000000 -0400
63 +++ binutils-2.16.90.0.1/ld/configure 2005-04-11 02:19:54.000000000 -0400
64 @@ -1581,6 +1581,11 @@
65 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
66 ;;
67
68 +linux-uclibc*)
69 + lt_cv_deplibs_check_method=pass_all
70 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
71 + ;;
72 +
73 netbsd* | knetbsd*-gnu)
74 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
75 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
76 diff -ur binutils-2.16.90.0.1.orig/libtool.m4 binutils-2.16.90.0.1/libtool.m4
77 --- binutils-2.16.90.0.1.orig/libtool.m4 2005-04-11 02:19:42.000000000 -0400
78 +++ binutils-2.16.90.0.1/libtool.m4 2005-04-11 02:19:54.000000000 -0400
79 @@ -645,6 +645,11 @@
80 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
81 ;;
82
83 +linux-uclibc*)
84 + lt_cv_deplibs_check_method=pass_all
85 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
86 + ;;
87 +
88 netbsd* | knetbsd*-gnu)
89 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
90 [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
91 diff -ur binutils-2.16.90.0.1.orig/ltconfig binutils-2.16.90.0.1/ltconfig
92 --- binutils-2.16.90.0.1.orig/ltconfig 2005-04-11 02:19:42.000000000 -0400
93 +++ binutils-2.16.90.0.1/ltconfig 2005-04-11 02:19:54.000000000 -0400
94 @@ -603,6 +603,7 @@
95 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
96 case $host_os in
97 linux-gnu*) ;;
98 +linux-uclibc*) ;;
99 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
100 esac
101
102 @@ -1270,6 +1271,24 @@
103 dynamic_linker='GNU/Linux ld.so'
104 ;;
105
106 +linux-uclibc*)
107 + version_type=linux
108 + need_lib_prefix=no
109 + need_version=no
110 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
111 + soname_spec='${libname}${release}.so$major'
112 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
113 + shlibpath_var=LD_LIBRARY_PATH
114 + shlibpath_overrides_runpath=no
115 + # This implies no fast_install, which is unacceptable.
116 + # Some rework will be needed to allow for fast_install
117 + # before this can be enabled.
118 + # Note: copied from linux-gnu, and may not be appropriate.
119 + hardcode_into_libs=yes
120 + # Assume using the uClibc dynamic linker.
121 + dynamic_linker="uClibc ld.so"
122 + ;;
123 +
124 netbsd*)
125 need_lib_prefix=no
126 need_version=no
127 diff -ur binutils-2.16.90.0.1.orig/opcodes/configure binutils-2.16.90.0.1/opcodes/configure
128 --- binutils-2.16.90.0.1.orig/opcodes/configure 2005-04-11 02:19:44.000000000 -0400
129 +++ binutils-2.16.90.0.1/opcodes/configure 2005-04-11 02:19:54.000000000 -0400
130 @@ -3588,6 +3588,11 @@
131 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
132 ;;
133
134 +linux-uclibc*)
135 + lt_cv_deplibs_check_method=pass_all
136 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
137 + ;;
138 +
139 netbsd* | knetbsd*-gnu)
140 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
141 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
This page took 0.04982 seconds and 5 git commands to generate.