diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-03-20 11:51:17 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-03-20 11:51:17 -0700 |
commit | c3c3af2895a810ab6ffc93ea73afb73a88c9246f (patch) | |
tree | 50c8f53d83a7f468c764264dc7ab8a9a9acf970b /recipes/binutils/binutils-cvs/binutils-uclibc-100-uclibc-conf.patch | |
parent | 295488d84cc0b856e97a6fab0d725d33e5e55873 (diff) |
binutils_cvs: Various fixes to get it building.
* Port patched needed from binutils 2.19.
* Refresh the old patches.
* Cover for bitbake fetcher lameness where it
checks out the while src tree when we only
asked for binutils module. So we have to build
selective targets.
Diffstat (limited to 'recipes/binutils/binutils-cvs/binutils-uclibc-100-uclibc-conf.patch')
-rw-r--r-- | recipes/binutils/binutils-cvs/binutils-uclibc-100-uclibc-conf.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-cvs/binutils-uclibc-100-uclibc-conf.patch b/recipes/binutils/binutils-cvs/binutils-uclibc-100-uclibc-conf.patch new file mode 100644 index 0000000000..8de04e0fe0 --- /dev/null +++ b/recipes/binutils/binutils-cvs/binutils-uclibc-100-uclibc-conf.patch @@ -0,0 +1,34 @@ +--- binutils-2.18.orig/configure ++++ binutils-2.18/configure +@@ -2206,7 +2206,7 @@ + am33_2.0-*-linux*) + noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" + ;; +- sh-*-linux*) ++ sh*-*-linux*) + noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" + ;; + sh*-*-pe|mips*-*-pe|*arm-wince-pe) +@@ -2504,7 +2504,7 @@ + romp-*-*) + noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" + ;; +- sh-*-* | sh64-*-*) ++ sh*-*-* | sh64-*-*) + case "${host}" in + i[3456789]86-*-vsta) ;; # don't add gprof back in + i[3456789]86-*-go32*) ;; # don't add gprof back in +--- binutils-2.18.orig/gprof/configure ++++ binutils-2.18/gprof/configure +@@ -4124,6 +4124,11 @@ + lt_cv_deplibs_check_method=pass_all + ;; + ++linux-uclibc*) ++ lt_cv_deplibs_check_method=pass_all ++ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` ++ ;; ++ + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |