summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 14:14:24 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 14:29:45 (GMT)
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-devtools
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch42
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/no-ko-translation.patch9
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/noconfigure.patch35
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/nodoc.patch19
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/use-host.patch44
-rw-r--r--meta/recipes-devtools/apt/apt-native.inc63
-rw-r--r--meta/recipes-devtools/apt/apt-native_0.7.14.bb8
-rw-r--r--meta/recipes-devtools/apt/apt-package.inc104
-rw-r--r--meta/recipes-devtools/apt/apt.inc26
-rw-r--r--meta/recipes-devtools/apt/apt_0.7.14.bb15
-rw-r--r--meta/recipes-devtools/apt/files/apt.conf43
-rw-r--r--meta/recipes-devtools/apt/files/db_linking_hack.patch27
-rw-r--r--meta/recipes-devtools/apt/files/environment.patch13
-rw-r--r--meta/recipes-devtools/apt/files/no-curl.patch44
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/autoconf-x.patch36
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/autoheader-nonfatal-warnings.patch13
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-exclude.patch137
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-foreign.patch11
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-gnuconfigize.patch37
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-include.patch12
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch29
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/fix_path_xtra.patch118
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch126
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/program_prefix.patch19
-rw-r--r--meta/recipes-devtools/autoconf/autoconf.inc12
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.65.bb23
-rw-r--r--meta/recipes-devtools/automake/automake.inc13
-rw-r--r--meta/recipes-devtools/automake/automake/path_prog_fixes.patch67
-rw-r--r--meta/recipes-devtools/automake/automake_1.11.1.bb41
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/110-arm-eabi-conf.patch22
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-2.16.1-e300c2c3.patch18
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-libtool.patch67
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch29
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch34
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-001_ld_makefile_patch.patch50
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-006_better_file_error.patch43
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-012_check_ldrunpath_length.patch47
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-gas-needs-libm.patch38
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-x86_64_i386_biarch.patch26
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch20
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc16
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb3
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross.inc25
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross_2.20.1.bb3
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross_csl-arm-2008q1.bb3
-rw-r--r--meta/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb12
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc146
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.20.1.bb37
-rw-r--r--meta/recipes-devtools/binutils/binutils_csl-arm-2008q1.bb25
-rw-r--r--meta/recipes-devtools/binutils/files/better_file_error.patch17
-rw-r--r--meta/recipes-devtools/binutils/files/ld_makefile.patch22
-rw-r--r--meta/recipes-devtools/binutils/files/objdump_fix.patch134
-rw-r--r--meta/recipes-devtools/binutils/files/plt32trunc.patch24
-rw-r--r--meta/recipes-devtools/binutils/files/signed_char_fix.patch12
-rw-r--r--meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch18
-rw-r--r--meta/recipes-devtools/bison/bison/m4.patch544
-rw-r--r--meta/recipes-devtools/bison/bison_2.4.2.bb22
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools-native/glibc-conflict-rename.patch228
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch26
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb24
-rw-r--r--meta/recipes-devtools/chrpath/chrpath_0.13.bb17
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_2.8.2.bb4
-rw-r--r--meta/recipes-devtools/cmake/cmake.inc16
-rw-r--r--meta/recipes-devtools/desktop-file-utils/desktop-file-utils-native_0.15.bb12
-rw-r--r--meta/recipes-devtools/diffstat/diffstat_1.47.bb26
-rw-r--r--meta/recipes-devtools/distcc/distcc_2.18.3.bb47
-rw-r--r--meta/recipes-devtools/distcc/files/default19
-rwxr-xr-xmeta/recipes-devtools/distcc/files/distcc106
-rw-r--r--meta/recipes-devtools/distcc/files/distcc-avahi.patch1736
-rw-r--r--meta/recipes-devtools/distcc/files/distccmon-gnome.desktop12
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools-native_2.10.bb19
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/2.6.20-syscall.patch65
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/alignment_hack.patch34
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/dosfstools-2.10-kernel-2.6.patch74
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch30
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/include-linux-types.patch17
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/mkdosfs-bootcode.patch240
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/mkdosfs-dir.patch634
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/msdos_fat12_undefined.patch12
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools_2.10.bb22
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools_2.11.bb21
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc40
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/autofoo.patch48
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/ignore_extra_fields.patch26
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/nochroot.patch18
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/noman.patch16
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/noupdalt.patch16
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.14.19.bb13
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs-1.41.12/acinclude.m486
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs-1.41.12/mkdir.patch26
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs-1.41.12/quotefix.patch43
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs.inc25
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb46
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch132
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/arm_backend.diff447
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/do-autoreconf.diff337
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/elf_additions.diff69
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/elfutils-fsize.patch37
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/hppa_backend.diff799
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/i386_dis.h1657
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/m68k_backend.diff307
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/mips_backend.diff711
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/redhat-portability.diff1122
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/redhat-robustify.diff1707
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/testsuite-ignore-elflint.diff19
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/x86_64_dis.h1632
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch98
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.108.bb25
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.148.bb63
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.89.bb10
-rw-r--r--meta/recipes-devtools/fakechroot/fakechroot/fix-readlink.patch26
-rw-r--r--meta/recipes-devtools/fakechroot/fakechroot_2.9.bb13
-rw-r--r--meta/recipes-devtools/fakeroot/fakeroot-1.14.4/absolutepaths.patch47
-rw-r--r--meta/recipes-devtools/fakeroot/fakeroot_1.14.4.bb33
-rw-r--r--meta/recipes-devtools/file/file/dump81
-rw-r--r--meta/recipes-devtools/file/file/filesystems812
-rw-r--r--meta/recipes-devtools/file/file/ge-le.patch70
-rw-r--r--meta/recipes-devtools/file/file/stringb-compat.patch29
-rw-r--r--meta/recipes-devtools/file/file_5.04.bb29
-rw-r--r--meta/recipes-devtools/flex/flex.inc11
-rw-r--r--meta/recipes-devtools/flex/flex_2.5.35.bb4
-rw-r--r--meta/recipes-devtools/gcc/files/canadian-build-modules-configure.patch22
-rw-r--r--meta/recipes-devtools/gcc/files/gcc-4.3.3-fix-EXTRA_BUILD.patch12
-rw-r--r--meta/recipes-devtools/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch13
-rw-r--r--meta/recipes-devtools/gcc/files/gcc-posix-open-fix.patch11
-rw-r--r--meta/recipes-devtools/gcc/files/gcc4-mtune-compat.patch14
-rw-r--r--meta/recipes-devtools/gcc/files/gfortran-4.3.x.patch40
-rw-r--r--meta/recipes-devtools/gcc/files/gfortran.patch40
-rw-r--r--meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch29
-rw-r--r--meta/recipes-devtools/gcc/files/pr33281-mingw-host-fragment.patch38
-rw-r--r--meta/recipes-devtools/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch13
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3.inc69
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/100-uclibc-conf.patch37
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/103-uclibc-conf-noupstream.patch11
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/110-arm-eabi.patch27
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/200-uclibc-locale.patch2833
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/203-uclibc-locale-no__x.patch233
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/204-uclibc-locale-wchar_fix.patch48
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/205-uclibc-locale-update.patch519
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/300-libstdc++-pic.patch46
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/301-missing-execinfo_h.patch11
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/302-c99-snprintf.patch13
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/303-c99-complex-ugly-hack.patch12
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/304-index_macro.patch24
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/305-libmudflap-susv3-legacy.patch49
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/306-libstdc++-namespace.patch36
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/307-locale_facets.patch19
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/402-libbackend_dep_gcov-iov.h.patch13
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/602-sdk-libstdc++-includes.patch20
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/64bithack.patch33
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/740-sh-pr24836.patch25
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/800-arm-bigendian.patch34
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/801-arm-bigendian-eabi.patch14
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/904-flatten-switch-stmt-00.patch153
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/arm-nolibfloat.patch24
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/arm-softfloat.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/arm-thumb-cache.patch29
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/arm-thumb.patch43
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/cache-amnesia.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/debian/arm-unbreak-eabi-armv4t.dpatch36
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/debian/gcc-ice-hack.dpatch331
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/debian/libstdc++-pic.dpatch71
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/debian/pr30961.dpatch179
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-c++-builtin-redecl.patch102
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-cpp-pragma.patch284
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-i386-libgomp.patch61
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-ia64-libunwind.patch538
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-java-debug-iface-type.patch17
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-java-nomulti.patch44
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-libgomp-speedup.patch2797
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-ppc32-retaddr.patch86
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-pr27898.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-pr32139.patch19
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-pr33763.patch153
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-pr35440.patch56
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-pr35751.patch114
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-rh251682.patch89
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-rh330771.patch34
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fedora/gcc43-rh341221.patch28
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fortran-cross-compile-hack.patch30
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/fortran-static-linking.patch48
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc-4.0.2-e300c2c3.patch319
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc-4.2.3-linux-multilib-fix.patch23
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch6691
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc-arm-frename-registers.patch25
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc-flags-for-build.patch279
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc-release-branch/PR-36500-fix-neon.patch265
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc41-configure.in.patch22
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc43-build-id.patch74
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gcc43-ppc64-ia64-GNU-stack.patch86
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/gfortran.patch40
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/headerpath.patch42
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/intermask-bigendian.patch24
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/ldflags.patch22
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/optional_libstdc.patch23
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/pr34130.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/pr35942.patch38
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/sdk-libstdc++-includes.patch22
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/sh3-installfix-fixheaders.patch11
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/sh_unwind.patch18
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/sparseset_rule.patch20
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/unbreak-armv4t.patch12
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/zecke-no-host-includes.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/zecke-xgcc-cpp.patch28
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0.inc81
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/100-uclibc-conf.patch37
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/103-uclibc-conf-noupstream.patch15
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/200-uclibc-locale.patch2840
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/203-uclibc-locale-no__x.patch233
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/204-uclibc-locale-wchar_fix.patch48
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/205-uclibc-locale-update.patch519
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/301-missing-execinfo_h.patch13
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/302-c99-snprintf.patch13
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/303-c99-complex-ugly-hack.patch14
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/304-index_macro.patch28
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/305-libmudflap-susv3-legacy.patch49
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/306-libstdc++-namespace.patch38
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/307-locale_facets.patch19
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/602-sdk-libstdc++-includes.patch20
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/64bithack.patch33
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/740-sh-pr24836.patch29
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/800-arm-bigendian.patch34
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/904-flatten-switch-stmt-00.patch74
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/arm-bswapsi2.patch13
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/arm-nolibfloat.patch24
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/arm-softfloat.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/arm-unbreak-eabi-armv4t.dpatch36
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/cache-amnesia.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-c++-builtin-redecl.patch114
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-cpp-pragma.patch284
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-i386-libgomp.patch65
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-ia64-libunwind.patch550
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-java-debug-iface-type.patch19
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-java-nomulti.patch48
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-libgomp-speedup.patch2797
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-ppc32-retaddr.patch90
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-pr27898.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-pr32139.patch19
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-pr33763.patch159
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-rh251682.patch89
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-rh330771.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fedora/gcc43-rh341221.patch32
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/fortran-cross-compile-hack.patch30
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.0.2-e300c2c3.patch319
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch114
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-4.5.0_to_svn_162697.patch.bz2bin0 -> 6957305 bytes
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-arm-frename-registers.patch25
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-flags-for-build.patch178
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-ice-hack.dpatch331
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-poison-system-directories.patch149
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-pr43698-arm-rev-instr.patch117
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc-uclibc-locale-ctype_touplow_t.patch67
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/gcc_revert_base_version_to_4.5.0.patch9
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/libstdc++-emit-__cxa_end_cleanup-in-text.patch40
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/libstdc++-pic.dpatch71
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/optional_libstdc.patch23
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/pr30961.dpatch179
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/pr35942.patch38
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/zecke-no-host-includes.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.0/zecke-xgcc-cpp.patch28
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc46
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc107
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-cross.inc22
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-runtime.inc59
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-sdk.inc48
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-target.inc5
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc4
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_4.3.3.bb24
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.0.bb25
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial.inc24
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial_4.3.3.bb5
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb5
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial_csl-arm-2008q1.bb10
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate.inc28
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate_4.3.3.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.0.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate_csl-arm-2008q1.bb10
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb15
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-kernel.inc10
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc12
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross4.inc1
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_4.3.3.bb10
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_4.5.0.bb12
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_csl-arm-2008q1.bb26
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial.inc8
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.3.3.bb3
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.0.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc9
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.3.3.bb3
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.0.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk.inc16
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_4.3.3.bb3
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_4.5.0.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm-2005q3.inc22
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm-2008q1.inc53
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/15342.patch22
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/arm-nolibfloat.patch24
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/arm-softfloat.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/cache-amnesia.patch13
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/fortran-static-linking.patch48
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.0-arm-lib1asm.patch24
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-eabi-bigendian.patch12
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/gcc-3.4.4-makefile-fix.patch29
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/gcc-configure-no-fortran.patch1075
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/gcc-new-makeinfo.patch35
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/gcc34-arm-tune.patch9
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/gcc41-configure.in.patch22
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/gcc_optab_arm.patch95
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/no-libfloat.patch11
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/pic-without-sl.patch303
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/pr34130.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc-csl-arm/zecke-xgcc-cpp.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-cross.inc47
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-runtime.inc58
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-sdk.inc52
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc99
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_4.3.3.bb11
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_4.5.0.bb11
-rw-r--r--meta/recipes-devtools/gcc/gcc_4.3.3.bb10
-rw-r--r--meta/recipes-devtools/gcc/gcc_4.5.0.bb10
-rw-r--r--meta/recipes-devtools/gcc/gcc_csl-arm-2008q1.bb5
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc48
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian_7.1.bb10
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc10
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross_7.1.bb5
-rw-r--r--meta/recipes-devtools/gdb/gdb.inc12
-rw-r--r--meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff15
-rw-r--r--meta/recipes-devtools/gdb/gdb/kill_arm_map_symbols.patch24
-rw-r--r--meta/recipes-devtools/gdb/gdb/libiberty-cross.patch630
-rw-r--r--meta/recipes-devtools/gdb/gdb/no-werror.patch78
-rw-r--r--meta/recipes-devtools/gdb/gdb/sim-install-6.6.patch12
-rw-r--r--meta/recipes-devtools/gdb/gdb/sim-install.patch34
-rw-r--r--meta/recipes-devtools/gdb/gdb/uclibc.patch194
-rw-r--r--meta/recipes-devtools/gdb/gdb_7.1.bb3
-rw-r--r--meta/recipes-devtools/genext2fs/genext2fs.inc15
-rw-r--r--meta/recipes-devtools/genext2fs/genext2fs_1.4.1.bb3
-rw-r--r--meta/recipes-devtools/git/files/autotools.patch14
-rw-r--r--meta/recipes-devtools/git/git.inc22
-rw-r--r--meta/recipes-devtools/git/git_1.7.2.1.bb3
-rw-r--r--meta/recipes-devtools/gmp/gmp-4.2.1/disable-stdc.patch31
-rw-r--r--meta/recipes-devtools/gmp/gmp.inc16
-rw-r--r--meta/recipes-devtools/gmp/gmp/amd64.patch14
-rw-r--r--meta/recipes-devtools/gmp/gmp/configure.patch195
-rw-r--r--meta/recipes-devtools/gmp/gmp/sh4-asmfix.patch26
-rw-r--r--meta/recipes-devtools/gmp/gmp/use-includedir.patch13
-rw-r--r--meta/recipes-devtools/gmp/gmp_4.2.1.bb14
-rw-r--r--meta/recipes-devtools/gmp/gmp_5.0.1.bb7
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config/config-guess-uclibc.patch174
-rwxr-xr-xmeta/recipes-devtools/gnu-config/gnu-config/gnu-configize.in267
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config/uclibc.patch21
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_20080123.bb38
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-bash.patch286
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-import-commit.patch94
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-init.patch23
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-pop.patch71
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-push-no-series.patch27
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-push.patch40
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-set-git_exec_path.patch27
-rw-r--r--meta/recipes-devtools/guilt/files/guilt.patch317
-rw-r--r--meta/recipes-devtools/guilt/files/improve_auto_header_gen.patch69
-rw-r--r--meta/recipes-devtools/guilt/files/make_git_commands_conditional.patch46
-rw-r--r--meta/recipes-devtools/guilt/files/optional_head_check.patch58
-rw-r--r--meta/recipes-devtools/guilt/files/uninstall_force.patch12
-rw-r--r--meta/recipes-devtools/guilt/guilt-native_0.33.bb30
-rw-r--r--meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb9
-rw-r--r--meta/recipes-devtools/libtool/libtool-cross_2.2.10.bb34
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.2.10.bb22
-rw-r--r--meta/recipes-devtools/libtool/libtool-nativesdk_2.2.10.bb27
-rw-r--r--meta/recipes-devtools/libtool/libtool.inc14
-rw-r--r--meta/recipes-devtools/libtool/libtool/cross_compile.patch55
-rw-r--r--meta/recipes-devtools/libtool/libtool/prefix-manpage-fix.patch19
-rw-r--r--meta/recipes-devtools/libtool/libtool/prefix.patch109
-rw-r--r--meta/recipes-devtools/libtool/libtool/trailingslash.patch32
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.2.10.bb33
-rw-r--r--meta/recipes-devtools/m4/m4-native_1.4.13.bb12
-rw-r--r--meta/recipes-devtools/m4/m4/ac_config_links.patch28
-rw-r--r--meta/recipes-devtools/m4/m4/make.patch41
-rw-r--r--meta/recipes-devtools/m4/m4_1.4.13.bb9
-rw-r--r--meta/recipes-devtools/make/files/SCCS.patch16
-rw-r--r--meta/recipes-devtools/make/make.inc11
-rw-r--r--meta/recipes-devtools/make/make_3.81.bb3
-rw-r--r--meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c360
-rw-r--r--meta/recipes-devtools/makedevs/makedevs_1.0.0.bb21
-rw-r--r--meta/recipes-devtools/mpfr/mpfr.inc6
-rw-r--r--meta/recipes-devtools/mpfr/mpfr_3.0.0.bb9
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils-1.3.1/add-exclusion-to-mkfs-jffs2-git-2.patch101
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils-1.3.1/add-oobsize-64-and-writesize-4096-as-normal-nand.patch24
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git.patch134
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils/fix-ignoreerrors-git.patch26
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils/remove-ubi.patch33
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_1.1.0+git.bb29
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_1.3.1.bb26
-rw-r--r--meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch63
-rw-r--r--meta/recipes-devtools/mtools/mtools/mtools.patch127
-rw-r--r--meta/recipes-devtools/mtools/mtools/no-x11.patch19
-rw-r--r--meta/recipes-devtools/mtools/mtools_3.9.9.bb22
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils/index-ignore-filenotfound.patch54
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb24
-rw-r--r--meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch34
-rw-r--r--meta/recipes-devtools/opkg/opkg-0.1.8/headerfix.patch17
-rw-r--r--meta/recipes-devtools/opkg/opkg-0.1.8/opkg_unarchive.patch17
-rw-r--r--meta/recipes-devtools/opkg/opkg-collateral.bb22
-rw-r--r--meta/recipes-devtools/opkg/opkg-collateral/dest1
-rw-r--r--meta/recipes-devtools/opkg/opkg-collateral/lists2
-rw-r--r--meta/recipes-devtools/opkg/opkg-collateral/opkg.conf.comments23
-rw-r--r--meta/recipes-devtools/opkg/opkg-collateral/src0
-rw-r--r--meta/recipes-devtools/opkg/opkg-config-base_1.0.bb29
-rw-r--r--meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb8
-rw-r--r--meta/recipes-devtools/opkg/opkg-nogpg_svn.bb10
-rw-r--r--meta/recipes-devtools/opkg/opkg.inc33
-rw-r--r--meta/recipes-devtools/opkg/opkg/add_vercmp.patch34
-rw-r--r--meta/recipes-devtools/opkg/opkg/headerfix.patch17
-rw-r--r--meta/recipes-devtools/opkg/opkg/logfix.patch23
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.1.8.bb53
-rw-r--r--meta/recipes-devtools/opkg/opkg_svn.bb57
-rw-r--r--meta/recipes-devtools/patch/patch-2.5.9/2.5.9.patch27399
-rw-r--r--meta/recipes-devtools/patch/patch-2.5.9/debian.patch10424
-rw-r--r--meta/recipes-devtools/patch/patch-2.5.9/global-reject-file.diff201
-rw-r--r--meta/recipes-devtools/patch/patch-2.5.9/install.patch41
-rw-r--r--meta/recipes-devtools/patch/patch-2.5.9/unified-reject-files.diff305
-rw-r--r--meta/recipes-devtools/patch/patch.inc19
-rw-r--r--meta/recipes-devtools/patch/patch_2.5.9.bb10
-rw-r--r--meta/recipes-devtools/pax-utils/pax-utils_0.2.1.bb13
-rw-r--r--meta/recipes-devtools/perl/files/Configure-multilib.patch11
-rw-r--r--meta/recipes-devtools/perl/files/letgcc-find-errno.patch42
-rw-r--r--meta/recipes-devtools/perl/files/libperl-5.8.3-create-libperl-soname.patch11
-rw-r--r--meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch13
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl-native_2.36.bb7
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl_2.36.bb21
-rw-r--r--meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb7
-rw-r--r--meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb10
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch32
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/52_debian_extutils_hacks.patch234
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/53_debian_mod_paths.patch107
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/54_debian_perldoc-r.patch16
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/58_debian_cpan_config_path.patch14
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/60_debian_libnet_config_path.patch16
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch16
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/64_debian_enc2xs_inc.patch28
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/Makefile.SH.patch253
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/Makefile.patch61
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/asm-pageh-fix.patch19
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh1020
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh-3258
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh-32-be1
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh-32-le1
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh-6458
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh-64-be1
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh-64-le1
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/generate-sh.patch46
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/installperl.patch15
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/makedepend-dash.patch13
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch18
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/native-nopacklist.patch84
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/native-perlinc.patch24
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/native-ssp.patch14
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/perl-configpm-switch.patch43
-rwxr-xr-xmeta/recipes-devtools/perl/perl-5.8.8/perl-configure.sh43
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/perl-dynloader.patch23
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/perl-moreconfig.patch16
-rw-r--r--meta/recipes-devtools/perl/perl-native_5.8.8.bb93
-rw-r--r--meta/recipes-devtools/perl/perl-rdepends_5.8.8.inc1145
-rw-r--r--meta/recipes-devtools/perl/perl-rprovides.inc45
-rw-r--r--meta/recipes-devtools/perl/perl_5.8.8.bb218
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig-0.25/autofoo.patch526
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig-0.25/glibconfig-sysdefs.h6
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig.inc34
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig/autofoo.patch526
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig/disable-legacy.patch42
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig/glibconfig-sysdefs.h6
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb3
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_git.bb39
-rw-r--r--meta/recipes-devtools/prelink/prelink/prelink.conf18
-rw-r--r--meta/recipes-devtools/prelink/prelink/prelink.cron.daily40
-rw-r--r--meta/recipes-devtools/prelink/prelink/prelink.default22
-rw-r--r--meta/recipes-devtools/prelink/prelink_git.bb50
-rw-r--r--meta/recipes-devtools/pseudo/pseudo/static_sqlite.patch15
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb47
-rw-r--r--meta/recipes-devtools/python/fix-path.inc22
-rw-r--r--meta/recipes-devtools/python/python-2.6-manifest.inc268
-rw-r--r--meta/recipes-devtools/python/python-dbus_0.83.1.bb21
-rw-r--r--meta/recipes-devtools/python/python-gst/python-path.patch25
-rw-r--r--meta/recipes-devtools/python/python-gst_0.10.18.bb17
-rw-r--r--meta/recipes-devtools/python/python-imaging/path.patch33
-rw-r--r--meta/recipes-devtools/python/python-imaging_1.1.7.bb30
-rw-r--r--meta/recipes-devtools/python/python-iniparse-native_0.3.2.bb6
-rw-r--r--meta/recipes-devtools/python/python-iniparse_0.3.2.bb11
-rw-r--r--meta/recipes-devtools/python/python-native-2.6.5/00-fix-bindir-libdir-for-cross.patch20
-rw-r--r--meta/recipes-devtools/python/python-native-2.6.5/04-default-is-optimized.patch18
-rw-r--r--meta/recipes-devtools/python/python-native-2.6.5/10-distutils-fix-swig-parameter.patch16
-rw-r--r--meta/recipes-devtools/python/python-native-2.6.5/11-distutils-never-modify-shebang-line.patch18
-rw-r--r--meta/recipes-devtools/python/python-native-2.6.5/12-distutils-prefix-is-inside-staging-area.patch60
-rw-r--r--meta/recipes-devtools/python/python-native-2.6.5/debug.patch27
-rw-r--r--meta/recipes-devtools/python/python-native-2.6.5/nohostlibs.patch53
-rw-r--r--meta/recipes-devtools/python/python-native-2.6.5/sitecustomize.py45
-rw-r--r--meta/recipes-devtools/python/python-native_2.6.5.bb30
-rw-r--r--meta/recipes-devtools/python/python-pycairo_1.8.10.bb22
-rw-r--r--meta/recipes-devtools/python/python-pycurl/no-static-link.patch14
-rw-r--r--meta/recipes-devtools/python/python-pycurl_7.19.0.bb29
-rw-r--r--meta/recipes-devtools/python/python-pygobject-native_2.21.1.bb15
-rw-r--r--meta/recipes-devtools/python/python-pygobject/generate-constants.patch18
-rw-r--r--meta/recipes-devtools/python/python-pygobject_2.21.1.bb30
-rw-r--r--meta/recipes-devtools/python/python-pygtk/acinclude.m490
-rw-r--r--meta/recipes-devtools/python/python-pygtk/fix-gtkunixprint.patch16
-rw-r--r--meta/recipes-devtools/python/python-pygtk/nodocs.patch13
-rw-r--r--meta/recipes-devtools/python/python-pygtk/prevent_to_get_display_during_import.patch14
-rw-r--r--meta/recipes-devtools/python/python-pygtk/python-pygtk2/acinclude.m490
-rw-r--r--meta/recipes-devtools/python/python-pygtk_2.17.0.bb42
-rw-r--r--meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb5
-rw-r--r--meta/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch13
-rw-r--r--meta/recipes-devtools/python/python-pyrex_0.9.9.bb16
-rw-r--r--meta/recipes-devtools/python/python-scons-native_1.3.0.bb6
-rw-r--r--meta/recipes-devtools/python/python-scons_1.3.0.bb12
-rw-r--r--meta/recipes-devtools/python/python-urlgrabber-native_3.9.1.bb4
-rw-r--r--meta/recipes-devtools/python/python-urlgrabber/urlgrabber-3.0.0-cleanup.patch28
-rw-r--r--meta/recipes-devtools/python/python-urlgrabber/urlgrabber-HEAD.patch142
-rw-r--r--meta/recipes-devtools/python/python-urlgrabber/urlgrabber-reset.patch15
-rw-r--r--meta/recipes-devtools/python/python-urlgrabber_3.9.1.bb16
-rw-r--r--meta/recipes-devtools/python/python.inc25
-rw-r--r--meta/recipes-devtools/python/python/00-fix-bindir-libdir-for-cross.patch20
-rw-r--r--meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch116
-rw-r--r--meta/recipes-devtools/python/python/02-remove-test-for-cross.patch106
-rw-r--r--meta/recipes-devtools/python/python/03-fix-tkinter-detection.patch40
-rw-r--r--meta/recipes-devtools/python/python/04-default-is-optimized.patch52
-rw-r--r--meta/recipes-devtools/python/python/05-enable-ctypes-cross-build.patch28
-rw-r--r--meta/recipes-devtools/python/python/99-ignore-optimization-flag.patch19
-rw-r--r--meta/recipes-devtools/python/python/sitecustomize.py45
-rw-r--r--meta/recipes-devtools/python/python_2.6.5.bb121
-rw-r--r--meta/recipes-devtools/python/yum-metadata-parser-native_1.1.4.bb7
-rw-r--r--meta/recipes-devtools/python/yum-metadata-parser_1.1.4.bb15
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/fix-dirent.patch12
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch96
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/glflags.patch13
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/init-info.patch16
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/linker-flags.patch22
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/no-strip.patch26
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/powerpc_rom.binbin0 -> 4096 bytes
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/qemu-git-qemugl-host.patch34376
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch136
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/qemu-vmware-vga-depth.patch115
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/qemugl-allow-glxcontext-release.patch63
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch24
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb21
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb44
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper/raw2flash.c370
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper/tunctl.c156
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc39
-rw-r--r--meta/recipes-devtools/qemu/qemu_0.12.4.bb27
-rw-r--r--meta/recipes-devtools/qemu/qemu_git.bb21
-rw-r--r--meta/recipes-devtools/quilt/quilt-native.inc13
-rw-r--r--meta/recipes-devtools/quilt/quilt-native_0.48.bb4
-rw-r--r--meta/recipes-devtools/quilt/quilt.inc27
-rw-r--r--meta/recipes-devtools/quilt/quilt/aclocal.patch126
-rw-r--r--meta/recipes-devtools/quilt/quilt/install.patch11
-rw-r--r--meta/recipes-devtools/quilt/quilt/non-gnu.patch223
-rw-r--r--meta/recipes-devtools/quilt/quilt_0.48.bb7
-rwxr-xr-xmeta/recipes-devtools/rpm/rpm/perfile_rpmdeps.sh50
-rw-r--r--meta/recipes-devtools/rpm/rpm/remove-compiled-tests.patch440
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.1.10.bb137
-rw-r--r--meta/recipes-devtools/rsync/files/acinclude.m495
-rw-r--r--meta/recipes-devtools/rsync/files/rsyncd.conf15
-rw-r--r--meta/recipes-devtools/rsync/rsync.inc24
-rw-r--r--meta/recipes-devtools/rsync/rsync_2.6.9.bb25
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.0.7.bb18
-rw-r--r--meta/recipes-devtools/shasum/files/main.c60
-rw-r--r--meta/recipes-devtools/shasum/files/mhash_sha256.h64
-rw-r--r--meta/recipes-devtools/shasum/files/sha256.c322
-rw-r--r--meta/recipes-devtools/shasum/shasum-native.bb8
-rw-r--r--meta/recipes-devtools/shasum/shasum.inc23
-rw-r--r--meta/recipes-devtools/subversion/subversion-1.5.5/disable-revision-install.patch22
-rw-r--r--meta/recipes-devtools/subversion/subversion-1.5.5/libtool2.patch15
-rw-r--r--meta/recipes-devtools/subversion/subversion-1.5.5/neon-detection.patch36
-rw-r--r--meta/recipes-devtools/subversion/subversion_1.5.5.bb29
-rw-r--r--meta/recipes-devtools/syslinux/files/cross-build.patch64
-rw-r--r--meta/recipes-devtools/syslinux/syslinux_3.86.bb46
-rw-r--r--meta/recipes-devtools/tcltk/tcl/fix-configure.patch44
-rw-r--r--meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch63
-rw-r--r--meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch50
-rw-r--r--meta/recipes-devtools/tcltk/tcl_8.5.8.bb62
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/001-2.2b47-2.2b51.patch2344
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch68
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/003-manpages.patch28
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/004-strsignal.patch48
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/005-sys-time.patch29
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/006-reiserfs.patch1272
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/007-map.patch78
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/008-configure.patch13
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/009-multirw.patch15
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/010-realpath.patch30
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch13
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/012-nostrip.patch13
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/013-mntpathlen.patch32
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch12
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/015-setattr.patch26
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/016-makefile.in.patch14
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/017-wrs-dynamic-rpc.patch258
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/018-remove-tcp-wrappers.patch20
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/019-pid-before-fork.patch125
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch18
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/021-nolibwrap.patch20
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/022-add-close-on-exec-descriptors.patch61
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server_2.2beta47.bb71
-rw-r--r--meta/recipes-devtools/unifdef/files/unifdef.c1005
-rw-r--r--meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb17
-rw-r--r--meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc30
-rw-r--r--meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb7
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/fix_issue_caused_by_ccache.patch30
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/valgrind_3.5.0-svn_r11264.patch.bz2bin0 -> 3681800 bytes
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.5.0.bb24
612 files changed, 141911 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch b/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch
new file mode 100644
index 0000000..f466164
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch
@@ -0,0 +1,42 @@
1Add missing includes required when building with modern toolchain, based on
2patch from Debian bugzilla:
3http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505954
4
5Should no longer be required once upgraded to 0.7.22 or later.
6
7Index: apt-0.7.14/apt-pkg/acquire.cc
8===================================================================
9--- apt-0.7.14.orig/apt-pkg/acquire.cc 2008-05-28 14:22:13.000000000 +0100
10+++ apt-0.7.14/apt-pkg/acquire.cc 2010-07-23 17:30:11.494883936 +0100
11@@ -22,6 +22,7 @@
12
13 #include <apti18n.h>
14
15+#include <cstdio>
16 #include <iostream>
17 #include <sstream>
18
19Index: apt-0.7.14/apt-pkg/contrib/sha256.h
20===================================================================
21--- apt-0.7.14.orig/apt-pkg/contrib/sha256.h 2008-05-28 14:22:14.000000000 +0100
22+++ apt-0.7.14/apt-pkg/contrib/sha256.h 2010-07-23 17:30:11.494883936 +0100
23@@ -14,6 +14,7 @@
24 #ifndef APTPKG_SHA256_H
25 #define APTPKG_SHA256_H
26
27+#include <stdint.h>
28 #include <string>
29 #include <cstring>
30 #include <algorithm>
31Index: apt-0.7.14/apt-pkg/deb/dpkgpm.cc
32===================================================================
33--- apt-0.7.14.orig/apt-pkg/deb/dpkgpm.cc 2008-05-28 14:22:14.000000000 +0100
34+++ apt-0.7.14/apt-pkg/deb/dpkgpm.cc 2010-07-23 17:30:36.960856870 +0100
35@@ -20,6 +20,7 @@
36 #include <stdlib.h>
37 #include <fcntl.h>
38 #include <sys/select.h>
39+#include <sys/stat.h>
40 #include <sys/types.h>
41 #include <sys/wait.h>
42 #include <signal.h>
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/no-ko-translation.patch b/meta/recipes-devtools/apt/apt-0.7.14/no-ko-translation.patch
new file mode 100644
index 0000000..5f3634b
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.7.14/no-ko-translation.patch
@@ -0,0 +1,9 @@
1---
2 po/LINGUAS | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5--- apt-0.7.14.orig/po/LINGUAS
6+++ apt-0.7.14/po/LINGUAS
7@@ -1 +1 @@
8-ar bg bs ca cs cy da de dz el en_GB es eu fi fr gl he hu it ja km ko ku mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl uk vi zh_CN zh_TW
9+ar bg bs ca cs cy da de dz el en_GB es eu fi fr gl he hu it ja km ku mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl uk vi zh_CN zh_TW
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/noconfigure.patch b/meta/recipes-devtools/apt/apt-0.7.14/noconfigure.patch
new file mode 100644
index 0000000..682a96d
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.7.14/noconfigure.patch
@@ -0,0 +1,35 @@
1---
2 apt-pkg/packagemanager.cc | 4 ++++
3 1 file changed, 4 insertions(+)
4
5--- apt-0.6.45exp2.orig/apt-pkg/packagemanager.cc
6+++ apt-0.6.45exp2/apt-pkg/packagemanager.cc
7@@ -534,10 +534,12 @@ bool pkgPackageManager::SmartUnPack(PkgI
8
9 List->Flag(Pkg,pkgOrderList::UnPacked,pkgOrderList::States);
10
11+#if 0
12 // Perform immedate configuration of the package.
13 if (List->IsFlag(Pkg,pkgOrderList::Immediate) == true)
14 if (SmartConfigure(Pkg) == false)
15 return _error->Error("Internal Error, Could not perform immediate configuration (2) on %s",Pkg.Name());
16+#endif
17
18 return true;
19 }
20@@ -609,6 +611,7 @@ pkgPackageManager::OrderResult pkgPackag
21 DoneSomething = true;
22 }
23
24+#if 0
25 // Final run through the configure phase
26 if (ConfigureAll() == false)
27 return Failed;
28@@ -623,6 +626,7 @@ pkgPackageManager::OrderResult pkgPackag
29 return Failed;
30 }
31 }
32+#endif
33
34 return Completed;
35 }
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/nodoc.patch b/meta/recipes-devtools/apt/apt-0.7.14/nodoc.patch
new file mode 100644
index 0000000..db8cf93
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.7.14/nodoc.patch
@@ -0,0 +1,19 @@
1---
2 Makefile | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5--- apt-0.7.14.orig/Makefile
6+++ apt-0.7.14/Makefile
7@@ -15,11 +15,11 @@ all headers library clean veryclean bina
8 $(MAKE) -C apt-inst $@
9 $(MAKE) -C methods $@
10 $(MAKE) -C cmdline $@
11 $(MAKE) -C ftparchive $@
12 $(MAKE) -C dselect $@
13- $(MAKE) -C doc $@
14+# $(MAKE) -C doc $@
15 $(MAKE) -C po $@
16
17 # Some very common aliases
18 .PHONY: maintainer-clean dist-clean distclean pristine sanity
19 maintainer-clean dist-clean distclean pristine sanity: veryclean
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch b/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
new file mode 100644
index 0000000..894a697
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
@@ -0,0 +1,44 @@
1---
2 buildlib/sizetable | 4 +++-
3 configure.in | 2 +-
4 2 files changed, 4 insertions(+), 2 deletions(-)
5
6--- apt-0.7.14.orig/buildlib/sizetable
7+++ apt-0.7.14/buildlib/sizetable
8@@ -9,16 +9,19 @@
9 #
10 # This is used primarily for the MD5 algorithm.
11 # The format is:-
12 # CPU endian sizeof: char, int, short, long
13 i386 little 1 4 2 4
14+i486 little 1 4 2 4
15+i586 little 1 4 2 4
16+i686 little 1 4 2 4
17 armeb big 1 4 2 4
18 arm little 1 4 2 4
19 alpha little 1 4 2 8
20 mipsel little 1 4 2 4
21 sparc big 1 4 2 4
22 sparc64 big 1 4 2 8
23 m68k big 1 4 2 4
24 powerpc big 1 4 2 4
25 mips big 1 4 2 4
26 hppa big 1 4 2 4
27-m32r big 1 4 2 4
28\ No newline at end of file
29+m32r big 1 4 2 4
30--- apt-0.7.14.orig/configure.in
31+++ apt-0.7.14/configure.in
32@@ -86,11 +86,11 @@ AC_SUBST(BDBLIB)
33 dnl Converts the ARCH to be something singular for this general CPU family
34 dnl This is often the dpkg architecture string.
35 dnl First check against the full canonical canoncial-system-type in $target
36 dnl and if that fails, just look for the cpu
37 AC_MSG_CHECKING(debian architecture)
38-archset="`dpkg-architecture -qDEB_HOST_ARCH`"
39+archset="`echo $host_alias|cut -d'-' -f1`"
40 if test "x$archset" = "x"; then
41 AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture])
42 fi
43 AC_MSG_RESULT($archset)
44 AC_DEFINE_UNQUOTED(COMMON_ARCH,"$archset")
diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-devtools/apt/apt-native.inc
new file mode 100644
index 0000000..b16f99e
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-native.inc
@@ -0,0 +1,63 @@
1require apt.inc
2inherit native
3
4DEPENDS += "dpkg-native gettext-native"
5PACKAGES = ""
6USE_NLS = "yes"
7
8SRC_URI += "file://db_linking_hack.patch"
9
10python do_install () {
11 bb.build.exec_func('do_install_base', d)
12 bb.build.exec_func('do_install_config', d)
13}
14
15python do_install_config () {
16 indir = os.path.dirname(bb.data.getVar('FILE',d,1))
17 infile = file(os.path.join(indir, 'files', 'apt.conf'), 'r')
18 data = infile.read()
19 infile.close()
20
21 data = bb.data.expand(data, d)
22
23 outdir = os.path.join(bb.data.getVar('D', d, 1), bb.data.getVar('sysconfdir', d, 1), 'apt')
24 if not os.path.exists(outdir):
25 os.makedirs(outdir)
26 outpath = os.path.join(outdir, 'apt.conf.sample')
27
28 outfile = file(outpath, 'w')
29 outfile.write(data)
30 outfile.close()
31}
32
33do_install_base () {
34 install -d ${D}${bindir}
35 install -m 0755 bin/apt-cdrom ${D}${bindir}/
36 install -m 0755 bin/apt-get ${D}${bindir}/
37 install -m 0755 bin/apt-config ${D}${bindir}/
38 install -m 0755 bin/apt-cache ${D}${bindir}/
39 install -m 0755 bin/apt-sortpkgs ${D}${bindir}/
40 install -m 0755 bin/apt-extracttemplates ${D}${bindir}/
41
42 eval `cat environment.mak | grep ^GLIBC_VER | sed -e's, = ,=,'`
43 oe_libinstall -so -C bin libapt-pkg$GLIBC_VER-6 ${D}${libdir}/
44 ln -sf libapt-pkg$GLIBC_VER-6.so ${D}${libdir}/libapt-pkg.so
45 oe_libinstall -so -C bin libapt-inst$GLIBC_VER-6 ${D}${libdir}/
46 ln -sf libapt-inst$GLIBC_VER-6.so ${D}${libdir}/libapt-inst.so
47
48 install -d ${D}${libdir}/apt/methods
49 install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/
50
51 install -d ${D}${libdir}/dpkg/methods/apt
52 install -m 0644 dselect/desc.apt ${D}${libdir}/dpkg/methods/apt/
53 install -m 0644 dselect/names ${D}${libdir}/dpkg/methods/apt/
54 install -m 0755 dselect/install ${D}${libdir}/dpkg/methods/apt/
55 install -m 0755 dselect/setup ${D}${libdir}/dpkg/methods/apt/
56 install -m 0755 dselect/update ${D}${libdir}/dpkg/methods/apt/
57
58 install -d ${D}${sysconfdir}/apt
59 install -d ${D}${localstatedir}/lib/apt/lists/partial
60 install -d ${D}${localstatedir}/cache/apt/archives/partial
61
62 install -d ${D}${localstatedir}/log/apt/
63}
diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
new file mode 100644
index 0000000..2f04b72
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
@@ -0,0 +1,8 @@
1require apt-native.inc
2
3PR = "r3"
4
5SRC_URI += "file://nodoc.patch \
6 file://noconfigure.patch \
7 file://no-curl.patch \
8 file://includes-fix.patch"
diff --git a/meta/recipes-devtools/apt/apt-package.inc b/meta/recipes-devtools/apt/apt-package.inc
new file mode 100644
index 0000000..9e104f1
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-package.inc
@@ -0,0 +1,104 @@
1apt-manpages="doc/apt-cache.8 \
2 doc/apt-cdrom.8 \
3 doc/apt-config.8 \
4 doc/apt-get.8 \
5 doc/apt.8 \
6 doc/apt.conf.5 \
7 doc/apt_preferences.5 \
8 doc/fr/apt-cache.fr.8 \
9 doc/fr/apt-cdrom.fr.8 \
10 doc/fr/apt-config.fr.8 \
11 doc/fr/apt-get.fr.8 \
12 doc/fr/apt.conf.fr.5 \
13 doc/fr/apt_preferences.fr.5 \
14 doc/fr/sources.list.fr.5 \
15 doc/es/apt.es.8 \
16 doc/es/apt-cache.es.8 \
17 doc/es/apt-cdrom.es.8 \
18 doc/es/apt-config.es.8 \
19 doc/es/apt-get.es.8 \
20 doc/es/apt.conf.es.5 \
21 doc/es/apt_preferences.es.5 \
22 doc/es/sources.list.es.5 \
23 doc/pt_BR/apt_preferences.pt_BR.5 \
24 doc/ja/apt-cache.ja.8 \
25 doc/ja/apt-cdrom.ja.8 \
26 doc/ja/apt-get.ja.8 \
27 doc/ja/apt.conf.ja.5 \
28 doc/sources.list.5"
29apt-utils-manpages="doc/apt-extracttemplates.1 \
30 doc/apt-sortpkgs.1 \
31 doc/fr/apt-extracttemplates.fr.1 \
32 doc/fr/apt-sortpkgs.fr.1"
33# doc/fr/apt-ftparchive.fr.1
34# doc/apt-ftparchive.1
35
36def get_files_apt_doc(d, bb, manpages):
37 import re
38 manpages = re.sub(r'\bdoc/(\S+)/(\S+)\.\1\.(.)\b', r'${mandir}/\1/man\3/\2.\3', manpages)
39 manpages = re.sub(r'\bdoc/(\S+)\.(.)\b', r'${mandir}/man\2/\1.\2', manpages)
40 return manpages
41
42def get_commands_apt_doc(d, bb, manpages):
43 import os
44 s = list()
45 __dir_cache__ = list()
46 for m in manpages.split():
47 dest = get_files_apt_doc(d, bb, m)
48 dir = os.path.dirname(dest)
49 if not dir in __dir_cache__:
50 s.append("install -d ${D}/%s" % dir)
51 __dir_cache__.append(dir)
52 s.append("install -m 0644 %s ${D}/%s" % (m, dest))
53 return "\n".join(s)
54
55PACKAGES += "${PN}-utils ${PN}-utils-doc"
56FILES_${PN} = "${bindir}/apt-cdrom ${bindir}/apt-get \
57 ${bindir}/apt-config ${bindir}/apt-cache \
58 ${libdir}/apt ${libdir}/libapt*.so.* \
59 ${localstatedir} ${sysconfdir} \
60 ${libdir}/dpkg"
61FILES_${PN}-utils = "${bindir}/apt-sortpkgs ${bindir}/apt-extracttemplates"
62FILES_${PN}-doc = "${@get_files_apt_doc(d, bb, bb.data.getVar('apt-manpages', d, 1))} \
63 ${docdir}/apt"
64FILES_${PN}-utils-doc = "${@get_files_apt_doc(d, bb, bb.data.getVar('apt-utils-manpages', d, 1))}"
65FILES_${PN}-dev = "${libdir}/libapt*.so"
66
67do_install () {
68 set -x
69 ${@get_commands_apt_doc(d, bb, bb.data.getVar('apt-manpages', d, 1))}
70 ${@get_commands_apt_doc(d, bb, bb.data.getVar('apt-utils-manpages', d, 1))}
71 install -d ${D}${bindir}
72 install -m 0755 bin/apt-cdrom ${D}${bindir}/
73 install -m 0755 bin/apt-get ${D}${bindir}/
74 install -m 0755 bin/apt-config ${D}${bindir}/
75 install -m 0755 bin/apt-cache ${D}${bindir}/
76
77 install -m 0755 bin/apt-sortpkgs ${D}${bindir}/
78 install -m 0755 bin/apt-extracttemplates ${D}${bindir}/
79
80 eval `cat environment.mak | grep ^GLIBC_VER | sed -e's, = ,=,'`
81 oe_libinstall -so -C bin libapt-pkg$GLIBC_VER-6 ${D}${libdir}/
82 ln -sf libapt-pkg$GLIBC_VER-6.so ${D}${libdir}/libapt-pkg.so
83 oe_libinstall -so -C bin libapt-inst$GLIBC_VER-6 ${D}${libdir}/
84 ln -sf libapt-inst$GLIBC_VER-6.so ${D}${libdir}/libapt-inst.so
85
86 install -d ${D}${libdir}/apt/methods
87 install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/
88
89 install -d ${D}${libdir}/dpkg/methods/apt
90 install -m 0644 dselect/desc.apt ${D}${libdir}/dpkg/methods/apt/
91 install -m 0644 dselect/names ${D}${libdir}/dpkg/methods/apt/
92 install -m 0755 dselect/install ${D}${libdir}/dpkg/methods/apt/
93 install -m 0755 dselect/setup ${D}${libdir}/dpkg/methods/apt/
94 install -m 0755 dselect/update ${D}${libdir}/dpkg/methods/apt/
95
96 install -d ${D}${sysconfdir}/apt
97 install -d ${D}${localstatedir}/lib/apt/lists/partial
98 install -d ${D}${localstatedir}/cache/apt/archives/partial
99 install -d ${D}${docdir}/apt/examples
100 install -m 0644 doc/examples/* ${D}${docdir}/apt/examples/
101
102 install -d ${D}${includedir}/apt-pkg/
103 install -m 0644 include/apt-pkg/*.h ${D}${includedir}/apt-pkg/
104}
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
new file mode 100644
index 0000000..546683f
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt.inc
@@ -0,0 +1,26 @@
1DESCRIPTION = "Advanced front-end for dpkg."
2LICENSE = "GPL"
3SECTION = "base"
4
5SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
6 file://no-ko-translation.patch \
7 file://use-host.patch \
8 "
9
10inherit autotools gettext
11
12EXTRA_AUTORECONF = "--exclude=autopoint,autoheader"
13
14# Apt wants to know the glibc version by running a binary file, which will
15# fail, so we have to tell configure which version to use Since I don't know
16# the impliations of setting a wrong value I only provide one for angstrom,
17# which uses glibc 2.5 (which claims to be 2.4)
18# Koen - 20070327
19EXTRA_OECONF_append_angstrom = " ac_cv_glibc_ver=libc6.4"
20
21# under Debian it is set to libc6.3 as they use glibc 2.3
22# They also provide glibc 2.5 in 'experimental' and it works with APT built
23# for 2.3 so we set it in same way
24EXTRA_OECONF_append = " ac_cv_glibc_ver=libc6.3"
25
26FILES_${PN}-dbg += "${libdir}/apt/methods/.debug/"
diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb b/meta/recipes-devtools/apt/apt_0.7.14.bb
new file mode 100644
index 0000000..0ea9b48
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt_0.7.14.bb
@@ -0,0 +1,15 @@
1DEPENDS = "curl db"
2RDEPENDS = "dpkg"
3
4require apt.inc
5
6PR = "r3"
7
8SRC_URI += "file://nodoc.patch \
9 file://includes-fix.patch"
10
11require apt-package.inc
12
13FILES_${PN} += "${bindir}/apt-key"
14apt-manpages += "doc/apt-key.8"
15
diff --git a/meta/recipes-devtools/apt/files/apt.conf b/meta/recipes-devtools/apt/files/apt.conf
new file mode 100644
index 0000000..2bd9ddb
--- /dev/null
+++ b/meta/recipes-devtools/apt/files/apt.conf
@@ -0,0 +1,43 @@
1Dir "${STAGING_DIR_NATIVE}/"
2{
3 State "var/lib/apt/"
4 {
5 Lists "lists/";
6 status "${IMAGE_ROOTFS}/var/dpkg/status";
7 };
8 Cache "var/cache/apt/"
9 {
10 Archives "archives/";
11 pkgcache "";
12 srcpkgcache "";
13 };
14 Bin "${STAGING_BINDIR_NATIVE}/"
15 {
16 methods "${STAGING_LIBDIR}/apt/methods/";
17 gzip "/bin/gzip";
18 dpkg "dpkg";
19 dpkg-source "dpkg-source";
20 dpkg-buildpackage "dpkg-buildpackage";
21 apt-get "apt-get";
22 apt-cache "apt-cache";
23 };
24 Etc "etc/apt/"
25 {
26 Preferences "preferences";
27 };
28};
29
30APT
31{
32 Install-Recommends "true";
33 Immediate-Configure "false";
34 Architecture "i586";
35 Get
36 {
37 Assume-Yes "true";
38 Force-Yes "true"
39 };
40};
41
42DPkg::Options {"--root=${IMAGE_ROOTFS}";"--admindir=${IMAGE_ROOTFS}/var/dpkg";"--force-all";"--no-debsig"};
43};
diff --git a/meta/recipes-devtools/apt/files/db_linking_hack.patch b/meta/recipes-devtools/apt/files/db_linking_hack.patch
new file mode 100644
index 0000000..3c8368b
--- /dev/null
+++ b/meta/recipes-devtools/apt/files/db_linking_hack.patch
@@ -0,0 +1,27 @@
1Index: apt-0.7.3/configure.in
2===================================================================
3--- apt-0.7.3.orig/configure.in 2007-07-01 10:38:45.000000000 +0000
4+++ apt-0.7.3/configure.in 2007-08-21 13:39:26.000000000 +0000
5@@ -67,8 +67,20 @@
6 [AC_DEFINE(HAVE_BDB)
7 BDBLIB="-ldb"
8 AC_MSG_RESULT(yes)],
9- [BDBLIB=""
10- AC_MSG_RESULT(no)]
11+
12+ LIBS="$LIBS -lpthread"
13+ [AC_MSG_CHECKING(if we can link against BerkeleyDB with pthread)
14+ AC_LINK_IFELSE(
15+ [AC_LANG_PROGRAM(
16+ [#include <db.h>],
17+ [int r, s, t; db_version(&r, &s, &t);]
18+ )],
19+ [AC_DEFINE(HAVE_BDB)
20+ BDBLIB="-ldb -lpthread"
21+ AC_MSG_RESULT(yes)],
22+ [BDBLIB=""
23+ AC_MSG_RESULT(no)]
24+ )]
25 )]
26 )
27
diff --git a/meta/recipes-devtools/apt/files/environment.patch b/meta/recipes-devtools/apt/files/environment.patch
new file mode 100644
index 0000000..5bea1a0
--- /dev/null
+++ b/meta/recipes-devtools/apt/files/environment.patch
@@ -0,0 +1,13 @@
1Index: apt-0.6.46.2/buildlib/environment.mak.in
2===================================================================
3--- apt-0.6.46.2.orig/buildlib/environment.mak.in 2007-03-29 11:38:58.000000000 +0100
4+++ apt-0.6.46.2/buildlib/environment.mak.in 2007-03-29 11:39:12.000000000 +0100
5@@ -62,7 +62,7 @@
6
7 # Shared library things
8 HOST_OS = @host_os@
9-ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0)
10+ifneq ($(words $(filter linux-gnu linux-gnueabi gnu% %gnu,$(HOST_OS))),0)
11 SONAME_MAGIC=-Wl,-soname -Wl,
12 LFLAGS_SO=
13 else
diff --git a/meta/recipes-devtools/apt/files/no-curl.patch b/meta/recipes-devtools/apt/files/no-curl.patch
new file mode 100644
index 0000000..4e07c8f
--- /dev/null
+++ b/meta/recipes-devtools/apt/files/no-curl.patch
@@ -0,0 +1,44 @@
1---
2 configure.in | 6 ------
3 methods/makefile | 7 -------
4 2 files changed, 13 deletions(-)
5
6--- apt-0.7.14.orig/configure.in
7+++ apt-0.7.14/configure.in
8@@ -84,16 +84,10 @@ AC_CHECK_HEADER(db.h,
9 )]
10 )
11
12 LIBS="$saveLIBS"
13
14-AC_CHECK_LIB(curl, curl_easy_init,
15- [AC_CHECK_HEADER(curl/curl.h,
16- curl_ok=yes,
17- curl_ok=no)],
18- AC_MSG_ERROR([failed: I need CURL due https support]),
19-)
20
21 AC_SUBST(BDBLIB)
22
23 dnl Converts the ARCH to be something singular for this general CPU family
24 dnl This is often the dpkg architecture string.
25--- apt-0.7.14.orig/methods/makefile
26+++ apt-0.7.14/methods/makefile
27@@ -50,17 +50,10 @@ PROGRAM=http
28 SLIBS = -lapt-pkg $(SOCKETLIBS)
29 LIB_MAKES = apt-pkg/makefile
30 SOURCE = http.cc rfc2553emu.cc connect.cc
31 include $(PROGRAM_H)
32
33-# The https method
34-PROGRAM=https
35-SLIBS = -lapt-pkg -lcurl
36-LIB_MAKES = apt-pkg/makefile
37-SOURCE = https.cc
38-include $(PROGRAM_H)
39-
40 # The ftp method
41 PROGRAM=ftp
42 SLIBS = -lapt-pkg $(SOCKETLIBS)
43 LIB_MAKES = apt-pkg/makefile
44 SOURCE = ftp.cc rfc2553emu.cc connect.cc
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/autoconf-x.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/autoconf-x.patch
new file mode 100644
index 0000000..596535b
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/autoconf-x.patch
@@ -0,0 +1,36 @@
1Index: lib/autoconf/libs.m4
2===================================================================
3RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/libs.m4,v
4retrieving revision 1.13
5diff -p -u -r1.13 libs.m4
6--- autoconf-2.59/lib/autoconf/libs.m4 6 Sep 2005 15:34:06 -0000 1.13
7+++ autoconf-2.59/lib/autoconf/libs.m4 18 Sep 2005 17:09:58 -0000
8@@ -265,13 +265,13 @@ ac_x_header_dirs='
9 /usr/openwin/share/include'
10
11 if test "$ac_x_includes" = no; then
12- # Guess where to find include files, by looking for Intrinsic.h.
13+ # Guess where to find include files, by looking for Xlib.h.
14 # First, try using that file with no special directory specified.
15- AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Intrinsic.h>])],
16+ AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Xlib.h>])],
17 [# We can compile using X headers with no special include directory.
18 ac_x_includes=],
19 [for ac_dir in $ac_x_header_dirs; do
20- if test -r "$ac_dir/X11/Intrinsic.h"; then
21+ if test -r "$ac_dir/X11/Xlib.h"; then
22 ac_x_includes=$ac_dir
23 break
24 fi
25@@ -284,9 +284,9 @@ if test "$ac_x_libraries" = no; then
26 # Don't add to $LIBS permanently.
27 ac_save_LIBS=$LIBS
28- LIBS="-lXt $LIBS"
29- AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Intrinsic.h>],
30- [XtMalloc (0)])],
31+ LIBS="-lX11 $LIBS"
32+ AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>],
33+ [XrmInitialize ()])],
34 [LIBS=$ac_save_LIBS
35 # We can link X programs with no special library path.
36 ac_x_libraries=],
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/autoheader-nonfatal-warnings.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/autoheader-nonfatal-warnings.patch
new file mode 100644
index 0000000..1f18e04
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/autoheader-nonfatal-warnings.patch
@@ -0,0 +1,13 @@
1--- autoconf-2.59/bin/autoheader.in~ 2003-10-10 14:52:56.000000000 +0100
2+++ autoconf-2.59/bin/autoheader.in 2004-05-03 01:36:45.000000000 +0100
3@@ -272,8 +272,8 @@
4 }
5
6 }
7- exit 1
8- if keys %symbol;
9+# exit 1
10+# if keys %symbol;
11 }
12
13 update_file ("$tmp/config.hin", "$config_h_in");
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-exclude.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-exclude.patch
new file mode 100644
index 0000000..fac7483
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-exclude.patch
@@ -0,0 +1,137 @@
1Index: autoconf-2.63/bin/autoreconf.in
2===================================================================
3--- autoconf-2.63.orig/bin/autoreconf.in 2008-12-31 17:39:01.000000000 +0000
4+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:43:38.000000000 +0000
5@@ -76,6 +76,7 @@
6 -i, --install copy missing auxiliary files
7 --no-recursive don't rebuild sub-packages
8 -s, --symlink with -i, install symbolic links instead of copies
9+ -x, --exclude=STEPS steps we should not run
10 -m, --make when applicable, re-run ./configure && make
11 -W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
12
13@@ -136,6 +137,13 @@
14 # Recurse into subpackages
15 my $recursive = 1;
16
17+# Steps to exclude
18+my @exclude;
19+my @ex;
20+
21+my $uses_gettext;
22+my $configure_ac;
23+
24 ## ---------- ##
25 ## Routines. ##
26 ## ---------- ##
27@@ -153,6 +161,7 @@
28 'B|prepend-include=s' => \@prepend_include,
29 'i|install' => \$install,
30 's|symlink' => \$symlink,
31+ 'x|exclude=s' => \@exclude,
32 'm|make' => \$run_make,
33 'recursive!' => \$recursive);
34
35@@ -162,6 +171,8 @@
36 parse_WARNINGS;
37 parse_warnings '--warnings', @warning;
38
39+ @exclude = map { split /,/ } @exclude;
40+
41 # Even if the user specified a configure.ac, trim to get the
42 # directory, and look for configure.ac again. Because (i) the code
43 # is simpler, and (ii) we are still able to diagnose simultaneous
44@@ -255,6 +266,11 @@
45 {
46 my ($aclocal, $flags) = @_;
47
48+ @ex = grep (/^aclocal$/, @exclude);
49+ if ($#ex != -1) {
50+ return;
51+ }
52+
53 # aclocal 1.8+ does all this for free. It can be recognized by its
54 # --force support.
55 if ($aclocal_supports_force)
56@@ -368,7 +384,10 @@
57 }
58 else
59 {
60- xsystem_hint ("autopoint is needed because this package uses Gettext", "$autopoint");
61+ @ex = grep (/^autopoint$/, @exclude);
62+ if ($#ex == -1) {
63+ xsystem_hint ("autopoint is needed because this package uses Gettext", "$autopoint");
64+ }
65 }
66
67
68@@ -532,16 +551,17 @@
69 {
70 $libtoolize .= " --ltdl";
71 }
72- xsystem_hint ("libtoolize is needed because this package uses Libtool", $libtoolize);
73- $rerun_aclocal = 1;
74+ @ex = grep (/^libtoolize$/, @exclude);
75+ if ($#ex == -1) {
76+ xsystem_hint ("libtoolize is needed because this package uses Libtool", $libtoolize);
77+ $rerun_aclocal = 1;
78+ }
79 }
80 else
81 {
82 verb "$configure_ac: not running libtoolize: --install not given";
83 }
84
85-
86-
87 # ------------------- #
88 # Rerunning aclocal. #
89 # ------------------- #
90@@ -572,7 +592,10 @@
91 # latter runs the former, and (ii) autoconf is stricter than
92 # autoheader. So all in all, autoconf should give better error
93 # messages.
94- xsystem ($autoconf);
95+ @ex = grep (/^autoconf$/, @exclude);
96+ if ($#ex == -1) {
97+ xsystem ("$autoconf");
98+ }
99
100
101 # -------------------- #
102@@ -593,7 +616,10 @@
103 }
104 else
105 {
106- xsystem ($autoheader);
107+ @ex = grep (/^autoheader$/, @exclude);
108+ if ($#ex == -1) {
109+ xsystem ("$autoheader");
110+ }
111 }
112
113
114@@ -610,7 +636,10 @@
115 # We should always run automake, and let it decide whether it shall
116 # update the file or not. In fact, the effect of `$force' is already
117 # included in `$automake' via `--no-force'.
118- xsystem ($automake);
119+ @ex = grep (/^automake$/, @exclude);
120+ if ($#ex == -1) {
121+ xsystem ("$automake");
122+ }
123 }
124
125
126@@ -634,7 +663,10 @@
127 }
128 else
129 {
130- xsystem ("$make");
131+ @ex = grep (/^make$/, @exclude);
132+ if ($#ex == -1) {
133+ xsystem ("$make");
134+ }
135 }
136 }
137 }
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-foreign.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-foreign.patch
new file mode 100644
index 0000000..587a823
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-foreign.patch
@@ -0,0 +1,11 @@
1--- autoconf-2.59/bin/autoreconf.in~autoreconf-foreign 2004-05-09 20:55:06.000000000 -0400
2+++ autoconf-2.59/bin/autoreconf.in 2004-05-09 20:55:55.000000000 -0400
3@@ -184,6 +184,8 @@
4
5 $aclocal_supports_force = `$aclocal --help` =~ /--force/;
6
7+ $automake .= ' --foreign';
8+
9 # Dispatch autoreconf's option to the tools.
10 # --include;
11 $autoconf .= join (' --include=', '', @include);
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-gnuconfigize.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-gnuconfigize.patch
new file mode 100644
index 0000000..851d243
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-gnuconfigize.patch
@@ -0,0 +1,37 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Index: autoconf-2.63/bin/autoreconf.in
7===================================================================
8--- autoconf-2.63.orig/bin/autoreconf.in 2008-12-31 17:43:55.000000000 +0000
9+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:46:16.000000000 +0000
10@@ -58,7 +58,7 @@
11 $help = "Usage: $0 [OPTION]... [DIRECTORY]...
12
13 Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint'
14-(formerly `gettextize'), and `libtoolize' where appropriate)
15+(formerly `gettextize'), `libtoolize', and `gnu-configize' where appropriate)
16 repeatedly to remake the GNU Build System files in specified
17 DIRECTORIES and their subdirectories (defaulting to `.').
18
19@@ -115,6 +115,7 @@
20 my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';
21 my $autopoint = $ENV{'AUTOPOINT'} || 'autopoint';
22 my $make = $ENV{'MAKE'} || 'make';
23+my $gnuconfigize = $ENV{'GNUCONFIGIZE'} || 'gnu-configize';
24
25 # --install -- as --add-missing in other tools.
26 my $install = 0;
27@@ -644,6 +645,10 @@
28 }
29 }
30
31+ @ex = grep (/^gnu-configize$/, @exclude);
32+ if ($#ex == -1) {
33+ xsystem ("$gnuconfigize");
34+ }
35
36 # -------------- #
37 # Running make. #
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-include.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-include.patch
new file mode 100644
index 0000000..08646c1
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-include.patch
@@ -0,0 +1,12 @@
1Index: autoconf-2.63/bin/autoreconf.in
2===================================================================
3--- autoconf-2.63.orig/bin/autoreconf.in 2008-08-28 03:08:10.000000000 +0100
4+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:38:40.000000000 +0000
5@@ -190,6 +190,7 @@
6 $autoconf .= join (' --prepend-include=', '', map { shell_quote ($_) } @prepend_include);
7 $autoheader .= join (' --include=', '', map { shell_quote ($_) } @include);
8 $autoheader .= join (' --prepend-include=', '', map { shell_quote ($_) } @prepend_include);
9+ $aclocal .= join (' -I ', '', map { shell_quote ($_) } @include);
10
11 # --install and --symlink;
12 if ($install)
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch
new file mode 100644
index 0000000..8a90cd3
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch
@@ -0,0 +1,29 @@
1Poky provides a list of site files in CONFIG_SITE whereas autoconf
2only expects one file. This patch changes autoconf to accept a list of
3them.
4
5RP 1/2/10
6
7Index: autoconf-2.65/lib/autoconf/general.m4
8===================================================================
9--- autoconf-2.65.orig/lib/autoconf/general.m4 2010-02-01 12:41:32.329073138 +0000
10+++ autoconf-2.65/lib/autoconf/general.m4 2010-02-01 12:41:56.769040799 +0000
11@@ -1863,17 +1863,10 @@
12 m4_define([AC_SITE_LOAD],
13 [# Prefer an explicitly selected file to automatically selected ones.
14 ac_site_file1=NONE
15-ac_site_file2=NONE
16 if test -n "$CONFIG_SITE"; then
17 ac_site_file1=$CONFIG_SITE
18-elif test "x$prefix" != xNONE; then
19- ac_site_file1=$prefix/share/config.site
20- ac_site_file2=$prefix/etc/config.site
21-else
22- ac_site_file1=$ac_default_prefix/share/config.site
23- ac_site_file2=$ac_default_prefix/etc/config.site
24 fi
25-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
26+for ac_site_file in $ac_site_file1
27 do
28 test "x$ac_site_file" = xNONE && continue
29 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/fix_path_xtra.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/fix_path_xtra.patch
new file mode 100644
index 0000000..bc73571
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/fix_path_xtra.patch
@@ -0,0 +1,118 @@
1We don't build xmkmf so any values returned from it are going to be wrong.
2Using any paths in /usr/ for x headers/libs is a bad idea when cross compiling.
3This patch removes them to stop any confusion.
4
5RP - 20071115
6
7Index: autoconf-2.65/lib/autoconf/libs.m4
8===================================================================
9--- autoconf-2.65.orig/lib/autoconf/libs.m4 2009-10-29 01:53:41.000000000 +0000
10+++ autoconf-2.65/lib/autoconf/libs.m4 2010-01-29 13:40:13.000000000 +0000
11@@ -159,53 +159,6 @@
12 # --------------------- #
13
14
15-# _AC_PATH_X_XMKMF
16-# ----------------
17-# Internal subroutine of _AC_PATH_X.
18-# Set ac_x_includes and/or ac_x_libraries.
19-m4_define([_AC_PATH_X_XMKMF],
20-[AC_ARG_VAR(XMKMF, [Path to xmkmf, Makefile generator for X Window System])dnl
21-rm -f -r conftest.dir
22-if mkdir conftest.dir; then
23- cd conftest.dir
24- cat >Imakefile <<'_ACEOF'
25-incroot:
26- @echo incroot='${INCROOT}'
27-usrlibdir:
28- @echo usrlibdir='${USRLIBDIR}'
29-libdir:
30- @echo libdir='${LIBDIR}'
31-_ACEOF
32- if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
33- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34- for ac_var in incroot usrlibdir libdir; do
35- eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
36- done
37- # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
38- for ac_extension in a so sl dylib la dll; do
39- if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
40- test -f "$ac_im_libdir/libX11.$ac_extension"; then
41- ac_im_usrlibdir=$ac_im_libdir; break
42- fi
43- done
44- # Screen out bogus values from the imake configuration. They are
45- # bogus both because they are the default anyway, and because
46- # using them would break gcc on systems where it needs fixed includes.
47- case $ac_im_incroot in
48- /usr/include) ac_x_includes= ;;
49- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
50- esac
51- case $ac_im_usrlibdir in
52- /usr/lib | /usr/lib64 | /lib | /lib64) ;;
53- *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
54- esac
55- fi
56- cd ..
57- rm -f -r conftest.dir
58-fi
59-])# _AC_PATH_X_XMKMF
60-
61-
62 # _AC_PATH_X_DIRECT
63 # -----------------
64 # Internal subroutine of _AC_PATH_X.
65@@ -213,44 +166,7 @@
66 m4_define([_AC_PATH_X_DIRECT],
67 [# Standard set of common directories for X headers.
68 # Check X11 before X11Rn because it is often a symlink to the current release.
69-ac_x_header_dirs='
70-/usr/X11/include
71-/usr/X11R7/include
72-/usr/X11R6/include
73-/usr/X11R5/include
74-/usr/X11R4/include
75-
76-/usr/include/X11
77-/usr/include/X11R7
78-/usr/include/X11R6
79-/usr/include/X11R5
80-/usr/include/X11R4
81-
82-/usr/local/X11/include
83-/usr/local/X11R7/include
84-/usr/local/X11R6/include
85-/usr/local/X11R5/include
86-/usr/local/X11R4/include
87-
88-/usr/local/include/X11
89-/usr/local/include/X11R7
90-/usr/local/include/X11R6
91-/usr/local/include/X11R5
92-/usr/local/include/X11R4
93-
94-/usr/X386/include
95-/usr/x386/include
96-/usr/XFree86/include/X11
97-
98-/usr/include
99-/usr/local/include
100-/usr/unsupported/include
101-/usr/athena/include
102-/usr/local/x11r5/include
103-/usr/lpp/Xamples/include
104-
105-/usr/openwin/include
106-/usr/openwin/share/include'
107+ac_x_header_dirs=''
108
109 if test "$ac_x_includes" = no; then
110 # Guess where to find include files, by looking for Xlib.h.
111@@ -299,7 +215,6 @@
112 [AC_CACHE_VAL(ac_cv_have_x,
113 [# One or both of the vars are not set, and there is no cached value.
114 ac_x_includes=no ac_x_libraries=no
115-_AC_PATH_X_XMKMF
116 _AC_PATH_X_DIRECT
117 case $ac_x_includes,$ac_x_libraries in #(
118 no,* | *,no | *\'*)
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch
new file mode 100644
index 0000000..5f0d055
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch
@@ -0,0 +1,126 @@
1Index: autoconf-2.59/bin/autoheader.in
2===================================================================
3--- autoconf-2.59.orig/bin/autoheader.in 2005-03-09 16:27:17.933878952 -0500
4+++ autoconf-2.59/bin/autoheader.in 2005-03-09 16:29:57.360642400 -0500
5@@ -1,8 +1,8 @@
6-#! @PERL@
7+#! @bindir@/env perl
8 # -*- Perl -*-
9 # @configure_input@
10
11-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
12+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @bindir@/env perl -S "$0" "$@";; esac'
13 if 0;
14
15 # autoheader -- create `config.h.in' from `configure.ac'
16Index: autoconf-2.59/bin/autom4te.in
17===================================================================
18--- autoconf-2.59.orig/bin/autom4te.in 2003-10-28 03:48:36.000000000 -0500
19+++ autoconf-2.59/bin/autom4te.in 2005-03-09 16:30:14.957967200 -0500
20@@ -1,8 +1,10 @@
21-#! @PERL@ -w
22+#! @bindir@/env perl
23 # -*- perl -*-
24 # @configure_input@
25
26-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
27+use warnings;
28+
29+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
30 if 0;
31
32 # autom4te - Wrapper around M4 libraries.
33@@ -87,7 +89,7 @@
34 my $freeze = 0;
35
36 # $M4.
37-my $m4 = $ENV{"M4"} || '@M4@';
38+my $m4 = $ENV{"M4"} || '@bindir@/env m4';
39 # Some non-GNU m4's don't reject the --help option, so give them /dev/null.
40 fatal "need GNU m4 1.4 or later: $m4"
41 if system "$m4 --help </dev/null 2>&1 | grep reload-state >/dev/null";
42Index: autoconf-2.59/bin/autoreconf.in
43===================================================================
44--- autoconf-2.59.orig/bin/autoreconf.in 2005-03-09 16:27:17.354966960 -0500
45+++ autoconf-2.59/bin/autoreconf.in 2005-03-09 16:31:19.572144352 -0500
46@@ -1,8 +1,10 @@
47-#! @PERL@ -w
48+#! @bindir@/env perl
49 # -*- perl -*-
50 # @configure_input@
51
52-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
53+use warnings;
54+
55+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
56 if 0;
57
58 # autoreconf - install the GNU Build System in a directory tree
59Index: autoconf-2.59/bin/autoscan.in
60===================================================================
61--- autoconf-2.59.orig/bin/autoscan.in 2003-09-26 08:57:49.000000000 -0400
62+++ autoconf-2.59/bin/autoscan.in 2005-03-09 16:30:18.136483992 -0500
63@@ -1,4 +1,4 @@
64-#! @PERL@ -w
65+#! @bindir@/env perl
66 # -*- perl -*-
67 # autoscan - Create configure.scan (a preliminary configure.ac) for a package.
68 # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003
69@@ -21,7 +21,9 @@
70
71 # Written by David MacKenzie <djm@gnu.ai.mit.edu>.
72
73-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
74+use warnings;
75+
76+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
77 if 0;
78
79 BEGIN
80Index: autoconf-2.59/bin/autoupdate.in
81===================================================================
82--- autoconf-2.59.orig/bin/autoupdate.in 2003-08-27 07:26:32.000000000 -0400
83+++ autoconf-2.59/bin/autoupdate.in 2005-03-09 16:30:19.912214040 -0500
84@@ -1,4 +1,4 @@
85-#! @PERL@ -w
86+#! @bindir@/env perl
87 # -*- perl -*-
88 # autoupdate - modernize an Autoconf file.
89 # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003
90@@ -22,7 +22,9 @@
91 # Originally written by David MacKenzie <djm@gnu.ai.mit.edu>.
92 # Rewritten by Akim Demaille <akim@freefriends.org>.
93
94-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
95+use warnings;
96+
97+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
98 if 0;
99
100 BEGIN
101@@ -54,7 +56,7 @@
102 my @include = ('@datadir@');
103 my $force = 0;
104 # m4.
105-my $m4 = $ENV{"M4"} || '@M4@';
106+my $m4 = $ENV{"M4"} || '@bindir@/env m4';
107
108
109 # $HELP
110Index: autoconf-2.59/bin/ifnames.in
111===================================================================
112--- autoconf-2.59.orig/bin/ifnames.in 2003-10-10 09:52:56.000000000 -0400
113+++ autoconf-2.59/bin/ifnames.in 2005-03-09 16:30:22.656796800 -0500
114@@ -1,8 +1,10 @@
115-#! @PERL@ -w
116+#! @bindir@/env perl
117 # -*- perl -*-
118 # @configure_input@
119
120-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
121+use warnings;
122+
123+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
124 if 0;
125
126 # ifnames - print the identifiers used in C preprocessor conditionals
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/program_prefix.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/program_prefix.patch
new file mode 100644
index 0000000..e6f4096
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/program_prefix.patch
@@ -0,0 +1,19 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- autoconf-2.57/lib/autoconf/general.m4~program_prefix
7+++ autoconf-2.57/lib/autoconf/general.m4
8@@ -1676,8 +1676,9 @@
9 # The aliases save the names the user supplied, while $host etc.
10 # will get canonicalized.
11 test -n "$target_alias" &&
12- test "$program_prefix$program_suffix$program_transform_name" = \
13- NONENONEs,x,x, &&
14+ test "$target_alias" != "$host_alias" &&
15+ test "$program_prefix$program_suffix$program_transform_name" = \
16+ NONENONEs,x,x, &&
17 program_prefix=${target_alias}-[]dnl
18 ])# AC_CANONICAL_TARGET
19
diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
new file mode 100644
index 0000000..8816a66
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf.inc
@@ -0,0 +1,12 @@
1DESCRIPTION = "A package of M4 macros to produce scripts to \
2automatically configure sourcecode."
3LICENSE = "GPLv3"
4HOMEPAGE = "http://www.gnu.org/software/autoconf/"
5SECTION = "devel"
6DEPENDS += "m4-native"
7RDEPENDS_${PN} = "m4 gnu-config"
8
9SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
10 file://program_prefix.patch;patch=1"
11
12inherit autotools
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.65.bb b/meta/recipes-devtools/autoconf/autoconf_2.65.bb
new file mode 100644
index 0000000..5adb975
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf_2.65.bb
@@ -0,0 +1,23 @@
1require autoconf.inc
2
3PR = "r2"
4
5PARALLEL_MAKE = ""
6
7DEPENDS += "m4-native"
8RDEPENDS_${PN} = "m4 gnu-config"
9
10SRC_URI += "file://autoreconf-include.patch;patch=1 \
11 file://autoreconf-exclude.patch;patch=1 \
12 file://autoreconf-foreign.patch;patch=1 \
13 file://autoreconf-gnuconfigize.patch;patch=1 \
14 file://autoheader-nonfatal-warnings.patch;patch=1 \
15 ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]} \
16 file://config_site.patch;patch=1"
17
18DEPENDS_virtclass-native = "m4-native gnu-config-native"
19RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
20
21SRC_URI_append_virtclass-native = " file://fix_path_xtra.patch;patch=1"
22
23BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/automake/automake.inc b/meta/recipes-devtools/automake/automake.inc
new file mode 100644
index 0000000..d68c45d
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake.inc
@@ -0,0 +1,13 @@
1DESCRIPTION = "A tool for automatically generating Makefiles."
2LICENSE = "GPLv2"
3HOMEPAGE = "http://www.gnu.org/software/automake/"
4SECTION = "devel"
5PR = "r1"
6
7SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 "
8
9inherit autotools
10
11export AUTOMAKE = "${@bb.which('automake', bb.data.getVar('PATH', d, 1))}"
12
13FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"
diff --git a/meta/recipes-devtools/automake/automake/path_prog_fixes.patch b/meta/recipes-devtools/automake/automake/path_prog_fixes.patch
new file mode 100644
index 0000000..fb38442
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/path_prog_fixes.patch
@@ -0,0 +1,67 @@
1---
2 Makefile.am | 3 ++-
3 Makefile.in | 3 ++-
4 aclocal.in | 4 ++--
5 automake.in | 6 ++++--
6 4 files changed, 10 insertions(+), 6 deletions(-)
7
8Index: automake-1.10.1/Makefile.am
9===================================================================
10--- automake-1.10.1.orig/Makefile.am 2008-01-21 22:28:58.000000000 +0000
11+++ automake-1.10.1/Makefile.am 2008-10-10 17:21:20.000000000 +0100
12@@ -75,7 +75,8 @@
13 -e 's,[@]SHELL[@],$(SHELL),g' \
14 -e 's,[@]VERSION[@],$(VERSION),g' \
15 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
16- -e 's,[@]datadir[@],$(datadir),g'
17+ -e 's,[@]datadir[@],$(datadir),g' \
18+ -e 's,[@]bindir[@],$(bindir),g'
19
20 ## These files depend on Makefile so they are rebuilt if $(VERSION),
21 ## $(datadir) or other do_subst'ituted variables change.
22Index: automake-1.10.1/Makefile.in
23===================================================================
24--- automake-1.10.1.orig/Makefile.in 2008-01-21 22:29:10.000000000 +0000
25+++ automake-1.10.1/Makefile.in 2008-10-10 17:22:21.000000000 +0100
26@@ -185,7 +185,8 @@
27 -e 's,[@]SHELL[@],$(SHELL),g' \
28 -e 's,[@]VERSION[@],$(VERSION),g' \
29 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
30- -e 's,[@]datadir[@],$(datadir),g'
31+ -e 's,[@]datadir[@],$(datadir),g' \
32+ -e 's,[@]bindir[@],$(bindir),g'
33
34 WGET = wget
35 WGET_SV_CVS = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/
36Index: automake-1.10.1/aclocal.in
37===================================================================
38--- automake-1.10.1.orig/aclocal.in 2008-01-21 22:11:41.000000000 +0000
39+++ automake-1.10.1/aclocal.in 2008-10-10 17:21:20.000000000 +0100
40@@ -1,8 +1,8 @@
41-#!@PERL@ -w
42+#!@bindir@/env perl
43 # -*- perl -*-
44 # @configure_input@
45
46-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
47+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @bindir@/env perl -S "$0" "$@";; esac'
48 if 0;
49
50 # aclocal - create aclocal.m4 by scanning configure.ac
51Index: automake-1.10.1/automake.in
52===================================================================
53--- automake-1.10.1.orig/automake.in 2008-01-21 22:11:41.000000000 +0000
54+++ automake-1.10.1/automake.in 2008-10-10 17:21:20.000000000 +0100
55@@ -1,8 +1,10 @@
56-#!@PERL@ -w
57+#!@bindir@/env perl
58 # -*- perl -*-
59 # @configure_input@
60
61-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
62+use warnings;
63+
64+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @bindir@/env perl -S "$0" "$@";; esac'
65 if 0;
66
67 # automake - create Makefile.in from Makefile.am
diff --git a/meta/recipes-devtools/automake/automake_1.11.1.bb b/meta/recipes-devtools/automake/automake_1.11.1.bb
new file mode 100644
index 0000000..a78b690
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake_1.11.1.bb
@@ -0,0 +1,41 @@
1require automake.inc
2
3DEPENDS_virtclass-native = "autoconf-native"
4
5RDEPENDS_automake += "\
6 autoconf \
7 perl \
8 perl-module-bytes \
9 perl-module-constant \
10 perl-module-cwd \
11 perl-module-data-dumper \
12 perl-module-dynaloader \
13 perl-module-errno \
14 perl-module-exporter-heavy \
15 perl-module-file-basename \
16 perl-module-file-compare \
17 perl-module-file-copy \
18 perl-module-file-glob \
19 perl-module-file-spec-unix \
20 perl-module-file-stat \
21 perl-module-getopt-long \
22 perl-module-io \
23 perl-module-io-file \
24 perl-module-posix \
25 perl-module-strict \
26 perl-module-text-parsewords \
27 perl-module-vars "
28
29RDEPENDS_automake-native = "autoconf-native perl-native-runtime"
30
31PATHFIXPATCH = "file://path_prog_fixes.patch;patch=1"
32PATHFIXPATCH_virtclass-native = ""
33
34SRC_URI += "${PATHFIXPATCH}"
35
36do_install () {
37 oe_runmake 'DESTDIR=${D}' install
38 install -d ${D}${datadir}
39}
40
41BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/110-arm-eabi-conf.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/110-arm-eabi-conf.patch
new file mode 100644
index 0000000..2623301
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/110-arm-eabi-conf.patch
@@ -0,0 +1,22 @@
1--- /tmp/configure.ac 2008-06-22 14:14:59.000000000 +0200
2+++ binutils-2.18.50.0.7/configure.ac 2008-06-22 14:15:30.000000000 +0200
3@@ -561,7 +561,7 @@
4 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
5 libgloss_dir=arm
6 ;;
7- arm*-*-linux-gnueabi)
8+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
9 noconfigdirs="$noconfigdirs target-qthreads"
10 noconfigdirs="$noconfigdirs target-libobjc"
11 case ${with_newlib} in
12--- /tmp/configure 2008-06-22 14:17:11.000000000 +0200
13+++ binutils-2.18.50.0.7/configure 2008-06-22 14:17:56.000000000 +0200
14@@ -2307,7 +2307,7 @@
15 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
16 libgloss_dir=arm
17 ;;
18- arm*-*-linux-gnueabi)
19+ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
20 noconfigdirs="$noconfigdirs target-qthreads"
21 noconfigdirs="$noconfigdirs target-libobjc"
22 case ${with_newlib} in
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-2.16.1-e300c2c3.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-2.16.1-e300c2c3.patch
new file mode 100644
index 0000000..dfe9b18
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-2.16.1-e300c2c3.patch
@@ -0,0 +1,18 @@
1Adds support for Freescale Power architecture e300c2 and e300c3 cores.
2http://www.bitshrine.org/gpp/tc-fsl-x86lnx-e300c3-nptl-4.0.2-2.src.rpm
3
4Leon Woestenberg <leonw@mailcan.com>
5
6Index: binutils-2.19.51.0.3/opcodes/ppc-dis.c
7===================================================================
8--- binutils-2.19.51.0.3.orig/opcodes/ppc-dis.c 2009-04-16 00:38:45.000000000 -0700
9+++ binutils-2.19.51.0.3/opcodes/ppc-dis.c 2009-04-16 00:43:56.000000000 -0700
10@@ -132,6 +132,8 @@
11 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7 | PPC_OPCODE_ALTIVEC
12 | PPC_OPCODE_VSX),
13 0 },
14+ { "pmr", (PPC_OPCODE_PMR),
15+ 0 },
16 { "ppc", (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_32),
17 0 },
18 { "ppc32", (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_32),
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-libtool.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-libtool.patch
new file mode 100644
index 0000000..61517d1
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-libtool.patch
@@ -0,0 +1,67 @@
1This is because libdir has a trailing slash which breaks the comparision.
2
3RP 2/1/10
4
5Index: binutils-2.20.1/ltmain.sh
6===================================================================
7--- binutils-2.20.1.orig/ltmain.sh 2009-09-01 00:59:32.000000000 +0800
8+++ binutils-2.20.1/ltmain.sh 2010-07-29 09:41:14.000000000 +0800
9@@ -2156,8 +2156,12 @@
10 dir="$dir$objdir"
11
12 if test -n "$relink_command"; then
13+ # Strip any trailing slash from the destination.
14+ func_stripname '' '/' "$libdir"
15+ destlibdir=$func_stripname_result
16+
17 # Determine the prefix the user has applied to our future dir.
18- inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
19+ inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$destlibdir\$%%"`
20
21 # Don't allow the user to place us outside of our expected
22 # location b/c this prevents finding dependent libraries that
23@@ -5570,8 +5574,14 @@
24 absdir="$abs_ladir"
25 libdir="$abs_ladir"
26 else
27- dir="$libdir"
28- absdir="$libdir"
29+ # Adding 'libdir' from the .la file to our library search paths
30+ # breaks crosscompilation horribly. We cheat here and don't add
31+ # it, instead adding the path where we found the .la. -CL
32+ dir="$abs_ladir"
33+ absdir="$abs_ladir"
34+ libdir="$abs_ladir"
35+ #dir="$libdir"
36+ #absdir="$libdir"
37 fi
38 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
39 else
40@@ -5942,8 +5952,6 @@
41 add="$libdir/$linklib"
42 fi
43 else
44- # We cannot seem to hardcode it, guess we'll fake it.
45- add_dir="-L$libdir"
46 # Try looking first in the location we're being installed to.
47 if test -n "$inst_prefix_dir"; then
48 case $libdir in
49@@ -6089,7 +6097,17 @@
50 fi
51 ;;
52 *)
53- path="-L$absdir/$objdir"
54+ # OE sets installed=no in staging. We need to look in $objdir and $absdir,
55+ # preferring $objdir. RP 31/04/2008
56+ if test -f "$absdir/$objdir/$depdepl" ; then
57+ depdepl="$absdir/$objdir/$depdepl"
58+ path="-L$absdir/$objdir"
59+ elif test -f "$absdir/$depdepl" ; then
60+ depdepl="$absdir/$depdepl"
61+ path="-L$absdir"
62+ else
63+ path="-L$absdir/$objdir"
64+ fi
65 ;;
66 esac
67 else
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch
new file mode 100644
index 0000000..c71f0ad
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch
@@ -0,0 +1,29 @@
1# "-fPIE" always triggers segmentation fault in ld.so.1 on mips platform,
2# which was first saw on dbus-daemon. Below borrow the binutils fix from
3# binutils bugzilla:
4#
5# http://sourceware.org/bugzilla/show_bug.cgi?id=10858
6#
7# Its commit message says:
8# * elfxx-mips.c (mips_elf_create_dynamic_relocation): Use section
9# sym dynindx for relocs against defined syms in PIEs.
10#
11# It's in upstream CVS now (rev 1.267), but not in current release
12#
13# By Kevin Tian <kevin.tian@intel.com>, 2010-07-15
14
15diff --git a/elfxx-mips.c b/elfxx-mips.c
16index 3a1c8ba..f6c2c1c 100644
17--- binutils-2.20.1.orig/bfd/elfxx-mips.c
18+++ binutils-2.20.1/bfd/elfxx-mips.c
19@@ -5688,9 +5688,7 @@ mips_elf_create_dynamic_relocation (bfd *output_bfd,
20
21 /* We must now calculate the dynamic symbol table index to use
22 in the relocation. */
23- if (h != NULL
24- && (!h->root.def_regular
25- || (info->shared && !info->symbolic && !h->root.forced_local)))
26+ if (h != NULL && ! SYMBOL_REFERENCES_LOCAL (info, &h->root))
27 {
28 indx = h->root.dynindx;
29 if (SGI_COMPAT (output_bfd))
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch
new file mode 100644
index 0000000..8de04e0
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch
@@ -0,0 +1,34 @@
1--- binutils-2.18.orig/configure
2+++ binutils-2.18/configure
3@@ -2206,7 +2206,7 @@
4 am33_2.0-*-linux*)
5 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
6 ;;
7- sh-*-linux*)
8+ sh*-*-linux*)
9 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
10 ;;
11 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
12@@ -2504,7 +2504,7 @@
13 romp-*-*)
14 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
15 ;;
16- sh-*-* | sh64-*-*)
17+ sh*-*-* | sh64-*-*)
18 case "${host}" in
19 i[3456789]86-*-vsta) ;; # don't add gprof back in
20 i[3456789]86-*-go32*) ;; # don't add gprof back in
21--- binutils-2.18.orig/gprof/configure
22+++ binutils-2.18/gprof/configure
23@@ -4124,6 +4124,11 @@
24 lt_cv_deplibs_check_method=pass_all
25 ;;
26
27+linux-uclibc*)
28+ lt_cv_deplibs_check_method=pass_all
29+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
30+ ;;
31+
32 netbsd*)
33 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
34 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-001_ld_makefile_patch.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000..04a7e61
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-001_ld_makefile_patch.patch
@@ -0,0 +1,50 @@
1#!/bin/sh -e
2## 001_ld_makefile_patch.dpatch
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: Description: correct where ld scripts are installed
6## DP: Author: Chris Chimelis <chris@debian.org>
7## DP: Upstream status: N/A
8## DP: Date: ??
9
10if [ $# -ne 1 ]; then
11 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
12 exit 1
13fi
14
15[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
16patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
17
18case "$1" in
19 -patch) patch $patch_opts -p1 < $0;;
20 -unpatch) patch $patch_opts -p1 -R < $0;;
21 *)
22 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
23 exit 1;;
24esac
25
26exit 0
27
28@DPATCH@
29--- binutils-2.16.91.0.1/ld/Makefile.am
30+++ binutils-2.16.91.0.1/ld/Makefile.am
31@@ -20,7 +20,7 @@
32 # We put the scripts in the directory $(scriptdir)/ldscripts.
33 # We can't put the scripts in $(datadir) because the SEARCH_DIR
34 # directives need to be different for native and cross linkers.
35-scriptdir = $(tooldir)/lib
36+scriptdir = $(libdir)
37
38 EMUL = @EMUL@
39 EMULATION_OFILES = @EMULATION_OFILES@
40--- binutils-2.16.91.0.1/ld/Makefile.in
41+++ binutils-2.16.91.0.1/ld/Makefile.in
42@@ -268,7 +268,7 @@
43 # We put the scripts in the directory $(scriptdir)/ldscripts.
44 # We can't put the scripts in $(datadir) because the SEARCH_DIR
45 # directives need to be different for native and cross linkers.
46-scriptdir = $(tooldir)/lib
47+scriptdir = $(libdir)
48 BASEDIR = $(srcdir)/..
49 BFDDIR = $(BASEDIR)/bfd
50 INCDIR = $(BASEDIR)/include
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-006_better_file_error.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-006_better_file_error.patch
new file mode 100644
index 0000000..f337611
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-006_better_file_error.patch
@@ -0,0 +1,43 @@
1#!/bin/sh -e
2## 006_better_file_error.dpatch by David Kimdon <dwhedon@gordian.com>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: Specify which filename is causing an error if the filename is a
6## DP: directory. (#45832)
7
8if [ $# -ne 1 ]; then
9 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
10 exit 1
11fi
12
13[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
14patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
15
16case "$1" in
17 -patch) patch $patch_opts -p1 < $0;;
18 -unpatch) patch $patch_opts -p1 -R < $0;;
19 *)
20 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
21 exit 1;;
22esac
23
24exit 0
25
26@DPATCH@
27diff -urNad /home/james/debian/packages/binutils/binutils-2.14.90.0.6/bfd/opncls.c binutils-2.14.90.0.6/bfd/opncls.c
28--- /home/james/debian/packages/binutils/binutils-2.14.90.0.6/bfd/opncls.c 2003-07-23 16:08:09.000000000 +0100
29+++ binutils-2.14.90.0.6/bfd/opncls.c 2003-09-10 22:35:00.000000000 +0100
30@@ -150,6 +150,13 @@
31 {
32 bfd *nbfd;
33 const bfd_target *target_vec;
34+ struct stat s;
35+
36+ if (stat (filename, &s) == 0)
37+ if (S_ISDIR(s.st_mode)) {
38+ bfd_set_error (bfd_error_file_not_recognized);
39+ return NULL;
40+ }
41
42 nbfd = _bfd_new_bfd ();
43 if (nbfd == NULL)
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-012_check_ldrunpath_length.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-012_check_ldrunpath_length.patch
new file mode 100644
index 0000000..498651a
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-012_check_ldrunpath_length.patch
@@ -0,0 +1,47 @@
1#!/bin/sh -e
2## 012_check_ldrunpath_length.dpatch by Chris Chimelis <chris@debian.org>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: Only generate an RPATH entry if LD_RUN_PATH is not empty, for
6## DP: cases where -rpath isn't specified. (#151024)
7
8if [ $# -ne 1 ]; then
9 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
10 exit 1
11fi
12
13[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
14patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
15
16case "$1" in
17 -patch) patch $patch_opts -p1 < $0;;
18 -unpatch) patch $patch_opts -p1 -R < $0;;
19 *)
20 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
21 exit 1;;
22esac
23
24exit 0
25
26@DPATCH@
27diff -urNad /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/elf32.em binutils-2.15/ld/emultempl/elf32.em
28--- /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/elf32.em 2004-05-21 23:12:58.000000000 +0100
29+++ binutils-2.15/ld/emultempl/elf32.em 2004-05-21 23:12:59.000000000 +0100
30@@ -692,6 +692,8 @@
31 && command_line.rpath == NULL)
32 {
33 lib_path = (const char *) getenv ("LD_RUN_PATH");
34+ if ((lib_path) && (strlen (lib_path) == 0))
35+ lib_path = NULL;
36 if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
37 force))
38 break;
39@@ -871,6 +873,8 @@
40 rpath = command_line.rpath;
41 if (rpath == NULL)
42 rpath = (const char *) getenv ("LD_RUN_PATH");
43+ if ((rpath) && (strlen (rpath) == 0))
44+ rpath = NULL;
45 if (! (bfd_elf_size_dynamic_sections
46 (output_bfd, command_line.soname, rpath,
47 command_line.filter_shlib,
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-gas-needs-libm.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-gas-needs-libm.patch
new file mode 100644
index 0000000..db838cf
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-gas-needs-libm.patch
@@ -0,0 +1,38 @@
1Source: Khem Raj <raj.khem@gmail.com>
2Disposition: submit upstream.
3
4Description:
5
6We do not need to have the libtool patch anymore for binutils after
7libtool has been updated upstream it include support for it. However
8for building gas natively on uclibc systems we have to link it with
9-lm so that it picks up missing symbols.
10
11/local/build_area/BUILD/arm_v5t_le_uclibc/binutils-2.17.50/objdir/libiberty/pic/libiberty.a(floatformat.o): In function `floatformat_from_double':
12floatformat.c:(.text+0x1ec): undefined reference to `frexp'
13floatformat.c:(.text+0x2f8): undefined reference to `ldexp'
14/local/build_area/BUILD/arm_v5t_le_uclibc/binutils-2.17.50/objdir/libiberty/pic/libiberty.a(floatformat.o): In function `floatformat_to_double':
15floatformat.c:(.text+0x38a): undefined reference to `ldexp'
16floatformat.c:(.text+0x3d2): undefined reference to `ldexp'
17floatformat.c:(.text+0x43e): undefined reference to `ldexp' floatformat.c:(.text+0x4e2): undefined reference to `ldexp'
18collect2: ld returned 1 exit status
19make[4]: *** [as-new] Error 1
20
21Index: binutils-2.17.50/gas/configure.tgt
22===================================================================
23--- binutils-2.17.50.orig/gas/configure.tgt
24+++ binutils-2.17.50/gas/configure.tgt
25@@ -408,6 +408,12 @@ case ${generic_target} in
26 *-*-netware) fmt=elf em=netware ;;
27 esac
28
29+case ${generic_target} in
30+ arm-*-*uclibc*)
31+ need_libm=yes
32+ ;;
33+esac
34+
35 case ${cpu_type} in
36 alpha | arm | i386 | ia64 | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
37 bfd_gas=yes
38
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-x86_64_i386_biarch.patch
new file mode 100644
index 0000000..4cd9e22
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-x86_64_i386_biarch.patch
@@ -0,0 +1,26 @@
1#!/bin/sh -e
2## 127_x86_64_i386_biarch.dpatch
3##
4## DP: Description: Add (/usr)/lib32 to the search paths on x86_64.
5## DP: Author: Aurelien Jarno <aurel32.debian.org>
6## DP: Upstream status: Debian specific
7#
8# Hacked to apply with quilt
9# Adapted to binutils 2.18.50.0.7
10
11--- binutils/ld/emulparams/elf_i386.sh
12+++ binutils/ld/emulparams/elf_i386.sh
13@@ -12,3 +12,13 @@
14 SEPARATE_GOTPLT=12
15 SHARABLE_SECTIONS=yes
16 IREL_IN_PLT=
17+
18+# Linux modify the default library search path to first include
19+# a 32-bit specific directory.
20+case "$target" in
21+ x86_64*-linux* | i[3-7]86*-linux* | x86_64*-kfreebsd*-gnu | i[3-7]86*-kfreebsd*-gnu)
22+ case "$EMULATION_NAME" in
23+ *i386*) LIBPATH_SUFFIX=32 ;;
24+ esac
25+ ;;
26+esac
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch
new file mode 100644
index 0000000..36a14d7
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch
@@ -0,0 +1,20 @@
1don't let the distro compiler point to the wrong installation location
2
3Thanks to RP for helping find the source code causing the issue.
4
52010/08/13
6Nitin A Kamble <nitin.a.kamble@intel.com>
7Index: binutils-2.20.1/libiberty/Makefile.in
8===================================================================
9--- binutils-2.20.1.orig/libiberty/Makefile.in
10+++ binutils-2.20.1/libiberty/Makefile.in
11@@ -327,7 +327,8 @@ install: install_to_$(INSTALL_DEST) inst
12 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
13 # default multilib, so we have to take CFLAGS into account as well,
14 # since it will be passed the multilib flags.
15-MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
16+#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
17+MULTIOSDIR = ""
18 install_to_libdir: all
19 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
20 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
new file mode 100644
index 0000000..4953bc2
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -0,0 +1,16 @@
1inherit cross-canadian
2DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
3EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
4 --program-prefix=${TARGET_PREFIX}"
5
6do_install () {
7 autotools_do_install
8
9 # We're not interested in the libs or headers, these would come from the
10 # nativesdk or target version of the binutils recipe
11 rm -rf ${D}${prefix}/${TARGET_SYS}
12 rm -f ${D}${libdir}/libbfd*
13 rm -f ${D}${libdir}/libiberty*
14 rm -f ${D}${libdir}/libopcodes*
15 rm -f ${D}${includedir}/*.h
16}
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb
new file mode 100644
index 0000000..f4a7a0e
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb
@@ -0,0 +1,3 @@
1require binutils_${PV}.bb
2require binutils-cross-canadian.inc
3PR = "r4"
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
new file mode 100644
index 0000000..4eeb658
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-cross.inc
@@ -0,0 +1,25 @@
1inherit cross
2PROVIDES = "virtual/${TARGET_PREFIX}binutils"
3
4EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
5 --program-prefix=${TARGET_PREFIX} \
6 --disable-install-libbfd \
7 --disable-werror"
8
9do_install () {
10 oe_runmake 'DESTDIR=${D}' install
11
12 # We don't really need these, so we'll remove them...
13 rm -rf ${D}${STAGING_DIR_NATIVE}${libdir_native}/libiberty.a
14 rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}
15 rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/lib/ldscripts
16 rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/info
17 rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/locale
18 rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/man
19 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/share || :
20 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}/gcc-lib || :
21 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}64/gcc-lib || :
22 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir} || :
23 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}64 || :
24 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${prefix} || :
25}
diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.20.1.bb b/meta/recipes-devtools/binutils/binutils-cross_2.20.1.bb
new file mode 100644
index 0000000..8c7e4bc
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-cross_2.20.1.bb
@@ -0,0 +1,3 @@
1require binutils_${PV}.bb
2require binutils-cross.inc
3
diff --git a/meta/recipes-devtools/binutils/binutils-cross_csl-arm-2008q1.bb b/meta/recipes-devtools/binutils/binutils-cross_csl-arm-2008q1.bb
new file mode 100644
index 0000000..8ab1e7f
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-cross_csl-arm-2008q1.bb
@@ -0,0 +1,3 @@
1require binutils_csl-arm-2008q1.bb
2require binutils-cross.inc
3PR = "r1"
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb
new file mode 100644
index 0000000..f3bc5bf
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb
@@ -0,0 +1,12 @@
1require binutils-cross_${PV}.bb
2
3inherit crosssdk
4
5PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
6
7PR = "r3"
8
9do_configure_prepend () {
10 sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
11}
12
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
new file mode 100644
index 0000000..7a352b5
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -0,0 +1,146 @@
1DESCRIPTION = "A GNU collection of binary utilities"
2HOMEPAGE = "http://www.gnu.org/software/binutils/"
3BUGTRACKER = "http://sourceware.org/bugzilla/"
4SECTION = "devel"
5LICENSE = "GPLv2"
6
7DEPENDS = "flex-native bison-native"
8
9inherit autotools gettext
10
11PACKAGES += "${PN}-symlinks"
12
13FILES_${PN} = " \
14 ${bindir}/${TARGET_PREFIX}* \
15 ${libdir}/lib*-*.so \
16 ${prefix}/${TARGET_SYS}/bin/*"
17
18FILES_${PN}-dev = " \
19 ${includedir} \
20 ${libdir}/*.a \
21 ${libdir}/*.la \
22 ${libdir}/libbfd.so \
23 ${libdir}/libopcodes.so"
24
25FILES_${PN}-symlinks = " \
26 ${bindir}/addr2line \
27 ${bindir}/as \
28 ${bindir}/c++filt \
29 ${bindir}/gprof \
30 ${bindir}/ld \
31 ${bindir}/nm \
32 ${bindir}/objcopy \
33 ${bindir}/objdump \
34 ${bindir}/ranlib \
35 ${bindir}/readelf \
36 ${bindir}/size \
37 ${bindir}/strip"
38
39B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
40
41EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
42 --enable-install-libbfd \
43 --enable-shared"
44
45EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
46
47# This is necessary due to a bug in the binutils Makefiles
48# EXTRA_OEMAKE = "configure-build-libiberty all"
49
50export AR = "${HOST_PREFIX}ar"
51export AS = "${HOST_PREFIX}as"
52export LD = "${HOST_PREFIX}ld"
53export NM = "${HOST_PREFIX}nm"
54export RANLIB = "${HOST_PREFIX}ranlib"
55export OBJCOPY = "${HOST_PREFIX}objcopy"
56export OBJDUMP = "${HOST_PREFIX}objdump"
57
58export AR_FOR_TARGET = "${TARGET_PREFIX}ar"
59export AS_FOR_TARGET = "${TARGET_PREFIX}as"
60export LD_FOR_TARGET = "${TARGET_PREFIX}ld"
61export NM_FOR_TARGET = "${TARGET_PREFIX}nm"
62export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib"
63
64export CC_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
65export CXX_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
66
67export CC_FOR_BUILD = "${BUILD_CC}"
68export CPP_FOR_BUILD = "${BUILD_CPP}"
69export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
70
71export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
72
73do_configure () {
74 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
75 oe_runconf
76#
77# must prime config.cache to ensure the build of libiberty
78#
79 mkdir -p ${B}/build-${BUILD_SYS}
80 for i in ${CONFIG_SITE}; do
81 cat $i >> ${B}/build-${BUILD_SYS}/config.cache
82 done
83}
84
85do_install () {
86 autotools_do_install
87
88 # We don't really need these, so we'll remove them...
89 rm -rf ${D}${libdir}/ldscripts
90
91 # Fix the /usr/${TARGET_SYS}/bin/* links
92 for l in ${D}${prefix}/${TARGET_SYS}/bin/*; do
93 rm -f $l
94 ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
95 | tr -s / \
96 | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
97 done
98
99 # Install the libiberty header
100 install -d ${D}${includedir}
101 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
102 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
103
104 cd ${D}${bindir}
105
106 # Symlinks for ease of running these on the native target
107 for p in ${TARGET_SYS}-* ; do
108 ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
109 done
110
111 rm ${D}${bindir}/ar ${D}${bindir}/strings
112}
113
114do_install_virtclass-native () {
115 autotools_do_install
116
117 # Install the libiberty header
118 install -d ${D}${includedir}
119 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
120 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
121
122 # We only want libiberty, libbfd and libopcodes
123 rm -rf ${D}${bindir}
124 rm -rf ${D}${prefix}/${TARGET_SYS}
125 rm -rf ${D}${prefix}/lib/ldscripts
126 rm -rf ${D}${prefix}/share/info
127 rm -rf ${D}${prefix}/share/locale
128 rm -rf ${D}${prefix}/share/man
129 rmdir ${D}${prefix}/share || :
130 rmdir ${D}/${libdir}/gcc-lib || :
131 rmdir ${D}/${libdir}64/gcc-lib || :
132 rmdir ${D}/${libdir} || :
133 rmdir ${D}/${libdir}64 || :
134}
135
136pkg_postinst_${PN}-symlinks () {
137 update-alternatives --install ${bindir}/ar ar ${TARGET_SYS}-ar 100
138 update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100
139}
140
141
142pkg_prerm_${PN}-symlinks () {
143 update-alternatives --remove ar ${TARGET_SYS}-ar
144 update-alternatives --remove strings ${TARGET_SYS}-strings
145}
146
diff --git a/meta/recipes-devtools/binutils/binutils_2.20.1.bb b/meta/recipes-devtools/binutils/binutils_2.20.1.bb
new file mode 100644
index 0000000..d5cd985
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils_2.20.1.bb
@@ -0,0 +1,37 @@
1require binutils.inc
2
3PR = "r2"
4
5LIC_FILES_CHKSUM="\
6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
7 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
8 file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\
9 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\
10 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6\
11 file://gas/COPYING;md5=d32239bcb673463ab874e80d47fae504\
12 file://include/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
13 file://include/COPYING3;md5=d32239bcb673463ab874e80d47fae504\
14 file://libiberty/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7\
15 file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\
16 "
17
18SRC_URI = "\
19 ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2;name=tarball \
20 file://binutils-uclibc-100-uclibc-conf.patch \
21 file://110-arm-eabi-conf.patch \
22 file://binutils-uclibc-300-001_ld_makefile_patch.patch \
23 file://binutils-uclibc-300-006_better_file_error.patch \
24 file://binutils-uclibc-300-012_check_ldrunpath_length.patch \
25 file://binutils-uclibc-gas-needs-libm.patch \
26 file://binutils-x86_64_i386_biarch.patch \
27 file://binutils-mips-pie.patch \
28 file://binutils-libtool.patch \
29 file://libiberty_path_fix.patch \
30 "
31
32# powerpc patches
33SRC_URI += "\
34 file://binutils-2.16.1-e300c2c3.patch \
35 "
36
37BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/binutils/binutils_csl-arm-2008q1.bb b/meta/recipes-devtools/binutils/binutils_csl-arm-2008q1.bb
new file mode 100644
index 0000000..dd9b798
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils_csl-arm-2008q1.bb
@@ -0,0 +1,25 @@
1require binutils.inc
2
3DEFAULT_PREFERENCE = "-1"
4
5SRC_URI = "\
6 http://www.codesourcery.com/gnu_toolchains/arm/portal/package2553/public/arm-none-eabi/arm-2008q1-126-arm-none-eabi.src.tar.bz2 \
7 file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
8 file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
9 file://110-arm-eabi-conf.patch;patch=1 \
10 file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \
11 file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \
12 file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \
13 file://docs_hack2.patch;patch=1 \
14 "
15
16PV = "2.18+csl-arm-2008q1-126"
17
18S = "${WORKDIR}/binutils-stable"
19
20do_unpack2() {
21 cd ${WORKDIR}
22 tar -xvjf ./arm-2008q1-126-arm-none-eabi/binutils-2008q1-126.tar.bz2
23}
24
25addtask unpack2 after do_unpack before do_patch
diff --git a/meta/recipes-devtools/binutils/files/better_file_error.patch b/meta/recipes-devtools/binutils/files/better_file_error.patch
new file mode 100644
index 0000000..38ef529
--- /dev/null
+++ b/meta/recipes-devtools/binutils/files/better_file_error.patch
@@ -0,0 +1,17 @@
1diff -urN binutils-2.11.92.0.5/bfd/opncls.c binutils-2.11.92.0.5.new/bfd/opncls.c
2--- binutils-2.11.92.0.5/bfd/opncls.c Mon Oct 1 18:25:21 2001
3+++ binutils-2.11.92.0.5.new/bfd/opncls.c Sat Oct 13 11:26:59 2001
4@@ -127,6 +127,13 @@
5 {
6 bfd *nbfd;
7 const bfd_target *target_vec;
8+ struct stat s;
9+
10+ if (stat (filename, &s) == 0)
11+ if (S_ISDIR(s.st_mode)) {
12+ bfd_set_error (bfd_error_file_not_recognized);
13+ return NULL;
14+ }
15
16 nbfd = _bfd_new_bfd ();
17 if (nbfd == NULL)
diff --git a/meta/recipes-devtools/binutils/files/ld_makefile.patch b/meta/recipes-devtools/binutils/files/ld_makefile.patch
new file mode 100644
index 0000000..c1d2ac1
--- /dev/null
+++ b/meta/recipes-devtools/binutils/files/ld_makefile.patch
@@ -0,0 +1,22 @@
1--- binutils-2.11.90.0.19.orig/ld/Makefile.am
2+++ binutils-2.11.90.0.19/ld/Makefile.am
3@@ -19,7 +19,7 @@
4 # We put the scripts in the directory $(scriptdir)/ldscripts.
5 # We can't put the scripts in $(datadir) because the SEARCH_DIR
6 # directives need to be different for native and cross linkers.
7-scriptdir = $(tooldir)/lib
8+scriptdir = $(libdir)
9
10 EMUL = @EMUL@
11 EMULATION_OFILES = @EMULATION_OFILES@
12--- binutils-2.11.90.0.19.orig/ld/Makefile.in
13+++ binutils-2.11.90.0.19/ld/Makefile.in
14@@ -123,7 +123,7 @@
15 # We put the scripts in the directory $(scriptdir)/ldscripts.
16 # We can't put the scripts in $(datadir) because the SEARCH_DIR
17 # directives need to be different for native and cross linkers.
18-scriptdir = $(tooldir)/lib
19+scriptdir = $(libdir)
20
21 EMUL = @EMUL@
22 EMULATION_OFILES = @EMULATION_OFILES@
diff --git a/meta/recipes-devtools/binutils/files/objdump_fix.patch b/meta/recipes-devtools/binutils/files/objdump_fix.patch
new file mode 100644
index 0000000..90ad732
--- /dev/null
+++ b/meta/recipes-devtools/binutils/files/objdump_fix.patch
@@ -0,0 +1,134 @@
1From binutils-return-38148-listarch-binutils=sources dot redhat dot com at sources dot redhat dot com Tue Feb 22 19:24:15 2005
2Return-Path: <binutils-return-38148-listarch-binutils=sources dot redhat dot com at sources dot redhat dot com>
3Delivered-To: listarch-binutils at sources dot redhat dot com
4Received: (qmail 4446 invoked by alias); 22 Feb 2005 19:24:15 -0000
5Mailing-List: contact binutils-help at sources dot redhat dot com; run by ezmlm
6Precedence: bulk
7List-Subscribe: <mailto:binutils-subscribe at sources dot redhat dot com>
8List-Archive: <http://sources.redhat.com/ml/binutils/>
9List-Post: <mailto:binutils at sources dot redhat dot com>
10List-Help: <mailto:binutils-help at sources dot redhat dot com>, <http://sources dot redhat dot com/ml/#faqs>
11Sender: binutils-owner at sources dot redhat dot com
12Delivered-To: mailing list binutils at sources dot redhat dot com
13Received: (qmail 4401 invoked from network); 22 Feb 2005 19:24:08 -0000
14Received: from unknown (HELO bgo1smout1.broadpark.no) (217.13.4.94)
15 by sourceware dot org with SMTP; 22 Feb 2005 19:24:08 -0000
16Received: from bgo1sminn1.broadpark.no ([217.13.4.93])
17 by bgo1smout1 dot broadpark dot no
18 (Sun Java System Messaging Server 6 dot 1 HotFix 0 dot 05 (built Oct 21 2004))
19 with ESMTP id <0ICB007QZUZCC0C0 at bgo1smout1 dot broadpark dot no> for
20 binutils at sources dot redhat dot com; Tue, 22 Feb 2005 20:18:48 +0100 (CET)
21Received: from [127.0.0.1] ([80.202.165.9]) by bgo1sminn1.broadpark.no
22 (Sun Java System Messaging Server 6 dot 1 HotFix 0 dot 05 (built Oct 21 2004))
23 with ESMTP id <0ICB006NCVBVHE21 at bgo1sminn1 dot broadpark dot no> for
24 binutils at sources dot redhat dot com; Tue, 22 Feb 2005 20:26:20 +0100 (CET)
25Date: Tue, 22 Feb 2005 20:24:08 +0100
26From: =?ISO-8859-1?Q?Stig_Petter_Olsr=F8d?= <stigpo at users dot sourceforge dot net>
27Subject: [PATCH] objdump relocation fixes for ARM disassembly
28To: binutils at sources dot redhat dot com
29Message-id: <421B86D8.8080604@users.sourceforge.net>
30MIME-version: 1.0
31Content-type: text/plain; charset=ISO-8859-1; format=flowed
32Content-transfer-encoding: 7BIT
33User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
34
35Hello,
36
37objdump disassembly did not relocate correctly for the ARM processor. It seems
38that the test for triggering the INSN_HAS_RELOC flag was void (one test killed the other,
39since octets would always be zero) and all relocations would thus fail. I changed the test
40so the flag is set when we are about to disassemble an insn that the current relocation
41entry points to. I also changed objdump_print_addr to use the current relocation entry if
42the insn has such an entry. This causes the symbol printed to be correct for both external
43symbols (from the undefined section) and local symbols.
44
45This has only been tested for the ARM processor, but I don't think it should break other
46DISASSEMBLER_NEEDS_RELOCS processors either.
47
48
49binutils/
50
512005-02-22 Stig Petter Olsroed <stigpo@users.sourceforge.net>
52
53 * objdump.c (disassemble_bytes): Fixed relocation check for
54 DISASSEMBLER_NEEDS_RELOCS platforms to properly trigger the
55 INSN_HAS_RELOC flag. Set the current relocation entry in
56 objdump_disasm_info to allow printing the proper symbol.
57 (objdump_print_addr): Use the relocation entry in
58 objdump_disasm_info to lookup the correct symbol for
59 DISASSEMBLER_NEEDS_RELOCS platforms.
60
61--- 1/binutils/objdump.c 2005-02-22 01:50:06.000000000 +0100
62+++ 2/binutils/objdump.c 2005-02-22 14:27:33.066960900 +0100
63@@ -128,6 +128,7 @@
64 arelent ** dynrelbuf;
65 long dynrelcount;
66 disassembler_ftype disassemble_fn;
67+ arelent * reloc;
68 };
69
70 /* Architecture to disassemble for, or default if NULL. */
71@@ -852,6 +853,8 @@
72 {
73 struct objdump_disasm_info *aux;
74 asymbol *sym;
75+ arelent *q;
76+ int skip_find = 0;
77
78 if (sorted_symcount < 1)
79 {
80@@ -861,6 +864,22 @@
81 }
82
83 aux = (struct objdump_disasm_info *) info->application_data;
84+
85+ q = aux->reloc;
86+ if (q != NULL)
87+ {
88+ if (q->sym_ptr_ptr != NULL && *q->sym_ptr_ptr != NULL)
89+ {
90+ /* Adjust the vma to the reloc */
91+ vma += bfd_asymbol_value (*q->sym_ptr_ptr);
92+ if (bfd_is_und_section (bfd_get_section (*q->sym_ptr_ptr)))
93+ {
94+ skip_find = 1;
95+ sym = *q->sym_ptr_ptr;
96+ }
97+ }
98+ }
99+ if (!skip_find)
100 sym = find_symbol_for_address (vma, info, NULL);
101 objdump_print_addr_with_sym (aux->abfd, aux->sec, sym, vma, info,
102 skip_zeroes);
103@@ -1350,16 +1369,22 @@
104 info->bytes_per_chunk = 0;
105
106 #ifdef DISASSEMBLER_NEEDS_RELOCS
107- /* FIXME: This is wrong. It tests the number of octets
108- in the last instruction, not the current one. */
109- if (*relppp < relppend
110- && (**relppp)->address >= rel_offset + addr_offset
111- && ((**relppp)->address
112- < rel_offset + addr_offset + octets / opb))
113+ /* Check if the current relocation entry applies to the
114+ instruction we are about to disassemble.
115+ This works for ARM at least.
116+ */
117+ if ((*relppp) < relppend
118+ && ((**relppp)->address == rel_offset + addr_offset))
119+ {
120 info->flags = INSN_HAS_RELOC;
121+ aux->reloc = **relppp;
122+ }
123 else
124 #endif
125+ {
126 info->flags = 0;
127+ aux->reloc = NULL;
128+ }
129
130 octets = (*disassemble_fn) (section->vma + addr_offset, info);
131 info->fprintf_func = (fprintf_ftype) fprintf;
132
133
134
diff --git a/meta/recipes-devtools/binutils/files/plt32trunc.patch b/meta/recipes-devtools/binutils/files/plt32trunc.patch
new file mode 100644
index 0000000..4990f5d
--- /dev/null
+++ b/meta/recipes-devtools/binutils/files/plt32trunc.patch
@@ -0,0 +1,24 @@
1--- binutils/bfd/elf32-arm.h.orig 2004-04-22 22:11:15.000000000 -0400
2+++ binutils/bfd/elf32-arm.h 2004-04-22 22:28:37.000000000 -0400
3@@ -2229,6 +2229,8 @@ elf32_arm_relocate_section (output_bfd,
4 case R_ARM_PC24:
5 case R_ARM_ABS32:
6 case R_ARM_THM_PC22:
7+ case R_ARM_PLT32:
8+
9 if (info->shared
10 && (
11 (!info->symbolic && h->dynindx != -1)
12@@ -2262,11 +2264,6 @@ elf32_arm_relocate_section (output_bfd,
13 relocation = 0;
14 break;
15
16- case R_ARM_PLT32:
17- if (h->plt.offset != (bfd_vma)-1)
18- relocation = 0;
19- break;
20-
21 default:
22 if (unresolved_reloc)
23 _bfd_error_handler
24
diff --git a/meta/recipes-devtools/binutils/files/signed_char_fix.patch b/meta/recipes-devtools/binutils/files/signed_char_fix.patch
new file mode 100644
index 0000000..b3709da
--- /dev/null
+++ b/meta/recipes-devtools/binutils/files/signed_char_fix.patch
@@ -0,0 +1,12 @@
1diff -urN binutils-2.11.92.0.12.3/opcodes/i386-dis.c binutils-2.11.92.0.12.3.new/opcodes/i386-dis.c
2--- binutils-2.11.92.0.12.3/opcodes/i386-dis.c Fri Nov 16 17:05:55 2001
3+++ binutils-2.11.92.0.12.3.new/opcodes/i386-dis.c Mon Dec 31 15:55:04 2001
4@@ -1830,7 +1830,7 @@
5 * The function returns the length of this instruction in bytes.
6 */
7
8-static char intel_syntax;
9+static signed char intel_syntax;
10 static char open_char;
11 static char close_char;
12 static char separator_char;
diff --git a/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch b/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
new file mode 100644
index 0000000..850ec06
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
@@ -0,0 +1,18 @@
1help2man is looking at the generated binary for help output. This does not work for cross compilations. So taking out the local PREPATH (../src) directory from path so that help2 man can find the native version of the bison in the native sysroot directory.
2
3Date: 2010/06/28
4Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
5
6Index: bison-2.4.2/doc/Makefile.am
7===================================================================
8--- bison-2.4.2.orig/doc/Makefile.am
9+++ bison-2.4.2/doc/Makefile.am
10@@ -77,7 +77,7 @@ PREPATH = $(top_builddir)/src
11 (cd $$dir && $(MAKE) $(AM_MAKEFLAGS) $$program) || exit; \
12 done
13 @echo "Updating man page $@"
14- PATH="$(PREPATH)$(PATH_SEPARATOR)$$PATH"; \
15+# PATH="$(PREPATH)$(PATH_SEPARATOR)$$PATH";
16 export PATH; \
17 $(HELP2MAN) \
18 --include=$*.x \
diff --git a/meta/recipes-devtools/bison/bison/m4.patch b/meta/recipes-devtools/bison/bison/m4.patch
new file mode 100644
index 0000000..9332354
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/m4.patch
@@ -0,0 +1,544 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Index: bison-2.4.2/m4/lcmessage.m4
7===================================================================
8--- /dev/null
9+++ bison-2.4.2/m4/lcmessage.m4
10@@ -0,0 +1,32 @@
11+# lcmessage.m4 serial 3 (gettext-0.11.3)
12+dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
13+dnl This file is free software, distributed under the terms of the GNU
14+dnl General Public License. As a special exception to the GNU General
15+dnl Public License, this file may be distributed as part of a program
16+dnl that contains a configuration script generated by Autoconf, under
17+dnl the same distribution terms as the rest of that program.
18+dnl
19+dnl This file can can be used in projects which are not available under
20+dnl the GNU General Public License or the GNU Library General Public
21+dnl License but which still want to provide support for the GNU gettext
22+dnl functionality.
23+dnl Please note that the actual code of the GNU gettext library is covered
24+dnl by the GNU Library General Public License, and the rest of the GNU
25+dnl gettext package package is covered by the GNU General Public License.
26+dnl They are *not* in the public domain.
27+
28+dnl Authors:
29+dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
30+
31+# Check whether LC_MESSAGES is available in <locale.h>.
32+
33+AC_DEFUN([AM_LC_MESSAGES],
34+[
35+ AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
36+ [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
37+ am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
38+ if test $am_cv_val_LC_MESSAGES = yes; then
39+ AC_DEFINE(HAVE_LC_MESSAGES, 1,
40+ [Define if your <locale.h> file defines LC_MESSAGES.])
41+ fi
42+])
43Index: bison-2.4.2/m4/uintmax_t.m4
44===================================================================
45--- /dev/null
46+++ bison-2.4.2/m4/uintmax_t.m4
47@@ -0,0 +1,29 @@
48+# uintmax_t.m4 serial 6 (gettext-0.11)
49+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
50+dnl This file is free software, distributed under the terms of the GNU
51+dnl General Public License. As a special exception to the GNU General
52+dnl Public License, this file may be distributed as part of a program
53+dnl that contains a configuration script generated by Autoconf, under
54+dnl the same distribution terms as the rest of that program.
55+
56+dnl From Paul Eggert.
57+
58+AC_PREREQ(2.13)
59+
60+# Define uintmax_t to `unsigned long' or `unsigned long long'
61+# if <inttypes.h> does not exist.
62+
63+AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
64+[
65+ AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
66+ AC_REQUIRE([jm_AC_HEADER_STDINT_H])
67+ if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
68+ AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
69+ test $ac_cv_type_unsigned_long_long = yes \
70+ && ac_type='unsigned long long' \
71+ || ac_type='unsigned long'
72+ AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
73+ [Define to unsigned long or unsigned long long
74+ if <inttypes.h> and <stdint.h> don't define.])
75+ fi
76+])
77Index: bison-2.4.2/m4/glibc21.m4
78===================================================================
79--- /dev/null
80+++ bison-2.4.2/m4/glibc21.m4
81@@ -0,0 +1,32 @@
82+# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
83+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
84+dnl This file is free software, distributed under the terms of the GNU
85+dnl General Public License. As a special exception to the GNU General
86+dnl Public License, this file may be distributed as part of a program
87+dnl that contains a configuration script generated by Autoconf, under
88+dnl the same distribution terms as the rest of that program.
89+
90+# Test for the GNU C Library, version 2.1 or newer.
91+# From Bruno Haible.
92+
93+AC_DEFUN([jm_GLIBC21],
94+ [
95+ AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
96+ ac_cv_gnu_library_2_1,
97+ [AC_EGREP_CPP([Lucky GNU user],
98+ [
99+#include <features.h>
100+#ifdef __GNU_LIBRARY__
101+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
102+ Lucky GNU user
103+ #endif
104+#endif
105+ ],
106+ ac_cv_gnu_library_2_1=yes,
107+ ac_cv_gnu_library_2_1=no)
108+ ]
109+ )
110+ AC_SUBST(GLIBC21)
111+ GLIBC21="$ac_cv_gnu_library_2_1"
112+ ]
113+)
114Index: bison-2.4.2/m4/stdint_h.m4
115===================================================================
116--- /dev/null
117+++ bison-2.4.2/m4/stdint_h.m4
118@@ -0,0 +1,28 @@
119+# stdint_h.m4 serial 2 (gettext-0.11.4)
120+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
121+dnl This file is free software, distributed under the terms of the GNU
122+dnl General Public License. As a special exception to the GNU General
123+dnl Public License, this file may be distributed as part of a program
124+dnl that contains a configuration script generated by Autoconf, under
125+dnl the same distribution terms as the rest of that program.
126+
127+dnl From Paul Eggert.
128+
129+# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
130+# doesn't clash with <sys/types.h>, and declares uintmax_t.
131+
132+AC_DEFUN([jm_AC_HEADER_STDINT_H],
133+[
134+ AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
135+ [AC_TRY_COMPILE(
136+ [#include <sys/types.h>
137+#include <stdint.h>],
138+ [uintmax_t i = (uintmax_t) -1;],
139+ jm_ac_cv_header_stdint_h=yes,
140+ jm_ac_cv_header_stdint_h=no)])
141+ if test $jm_ac_cv_header_stdint_h = yes; then
142+ AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
143+[Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
144+ and declares uintmax_t. ])
145+ fi
146+])
147Index: bison-2.4.2/m4/inttypes_h.m4
148===================================================================
149--- /dev/null
150+++ bison-2.4.2/m4/inttypes_h.m4
151@@ -0,0 +1,28 @@
152+# inttypes_h.m4 serial 4 (gettext-0.11.4)
153+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
154+dnl This file is free software, distributed under the terms of the GNU
155+dnl General Public License. As a special exception to the GNU General
156+dnl Public License, this file may be distributed as part of a program
157+dnl that contains a configuration script generated by Autoconf, under
158+dnl the same distribution terms as the rest of that program.
159+
160+dnl From Paul Eggert.
161+
162+# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
163+# doesn't clash with <sys/types.h>, and declares uintmax_t.
164+
165+AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
166+[
167+ AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
168+ [AC_TRY_COMPILE(
169+ [#include <sys/types.h>
170+#include <inttypes.h>],
171+ [uintmax_t i = (uintmax_t) -1;],
172+ jm_ac_cv_header_inttypes_h=yes,
173+ jm_ac_cv_header_inttypes_h=no)])
174+ if test $jm_ac_cv_header_inttypes_h = yes; then
175+ AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
176+[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
177+ and declares uintmax_t. ])
178+ fi
179+])
180Index: bison-2.4.2/m4/ulonglong.m4
181===================================================================
182--- /dev/null
183+++ bison-2.4.2/m4/ulonglong.m4
184@@ -0,0 +1,23 @@
185+# ulonglong.m4 serial 2 (fileutils-4.0.32, gettext-0.10.40)
186+dnl Copyright (C) 1999-2002 Free Software Foundation, Inc.
187+dnl This file is free software, distributed under the terms of the GNU
188+dnl General Public License. As a special exception to the GNU General
189+dnl Public License, this file may be distributed as part of a program
190+dnl that contains a configuration script generated by Autoconf, under
191+dnl the same distribution terms as the rest of that program.
192+
193+dnl From Paul Eggert.
194+
195+AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG],
196+[
197+ AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
198+ [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
199+ [unsigned long long ullmax = (unsigned long long) -1;
200+ return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
201+ ac_cv_type_unsigned_long_long=yes,
202+ ac_cv_type_unsigned_long_long=no)])
203+ if test $ac_cv_type_unsigned_long_long = yes; then
204+ AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
205+ [Define if you have the unsigned long long type.])
206+ fi
207+])
208Index: bison-2.4.2/m4/codeset.m4
209===================================================================
210--- /dev/null
211+++ bison-2.4.2/m4/codeset.m4
212@@ -0,0 +1,23 @@
213+# codeset.m4 serial AM1 (gettext-0.10.40)
214+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
215+dnl This file is free software, distributed under the terms of the GNU
216+dnl General Public License. As a special exception to the GNU General
217+dnl Public License, this file may be distributed as part of a program
218+dnl that contains a configuration script generated by Autoconf, under
219+dnl the same distribution terms as the rest of that program.
220+
221+dnl From Bruno Haible.
222+
223+AC_DEFUN([AM_LANGINFO_CODESET],
224+[
225+ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
226+ [AC_TRY_LINK([#include <langinfo.h>],
227+ [char* cs = nl_langinfo(CODESET);],
228+ am_cv_langinfo_codeset=yes,
229+ am_cv_langinfo_codeset=no)
230+ ])
231+ if test $am_cv_langinfo_codeset = yes; then
232+ AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
233+ [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
234+ fi
235+])
236Index: bison-2.4.2/m4/intdiv0.m4
237===================================================================
238--- /dev/null
239+++ bison-2.4.2/m4/intdiv0.m4
240@@ -0,0 +1,72 @@
241+# intdiv0.m4 serial 1 (gettext-0.11.3)
242+dnl Copyright (C) 2002 Free Software Foundation, Inc.
243+dnl This file is free software, distributed under the terms of the GNU
244+dnl General Public License. As a special exception to the GNU General
245+dnl Public License, this file may be distributed as part of a program
246+dnl that contains a configuration script generated by Autoconf, under
247+dnl the same distribution terms as the rest of that program.
248+
249+dnl From Bruno Haible.
250+
251+AC_DEFUN([gt_INTDIV0],
252+[
253+ AC_REQUIRE([AC_PROG_CC])dnl
254+ AC_REQUIRE([AC_CANONICAL_HOST])dnl