diff options
Diffstat (limited to 'recipes/binutils')
26 files changed, 242 insertions, 236 deletions
diff --git a/recipes/binutils/binutils-cross-sdk_cvs.bb b/recipes/binutils/binutils-cross-sdk_cvs.bb index b01afc4070..ebaa0c9b22 100644 --- a/recipes/binutils/binutils-cross-sdk_cvs.bb +++ b/recipes/binutils/binutils-cross-sdk_cvs.bb @@ -1,4 +1,33 @@ require binutils_cvs.bb require binutils-cross-sdk.inc -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" FILESPATHPKG .= ":binutils-cvs" + +do_install () { + oe_runmake 'DESTDIR=${D}' install-ld install-binutils install-gas + + # We don't really need these, so we'll remove them... + rm -rf ${D}${libdir}/ldscripts + + # Fix the /usr/${TARGET_SYS}/bin/* links + for l in ${D}${prefix}/${TARGET_SYS}/bin/*; do + rm -f $l + ln -sf `echo ${prefix}/${TARGET_SYS}/bin \ + | tr -s / \ + | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l + done + + # Install the libiberty header + install -d ${D}${includedir} + install -m 644 ${S}/include/ansidecl.h ${D}${includedir} + install -m 644 ${S}/include/libiberty.h ${D}${includedir} + + cd ${D}${bindir} + + # Symlinks for ease of running these on the native target + for p in ${TARGET_SYS}-* ; do + ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,` + done + + rm ${D}${bindir}/ar ${D}${bindir}/strings +} diff --git a/recipes/binutils/binutils-cross.inc b/recipes/binutils/binutils-cross.inc index 5808c1fbda..bd22c92e16 100644 --- a/recipes/binutils/binutils-cross.inc +++ b/recipes/binutils/binutils-cross.inc @@ -8,22 +8,22 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ --enable-install-libbfd \ --disable-werror" -do_stage () { - oe_runmake install +do_install () { + oe_runmake 'DESTDIR=${D}' install # We don't really need these, so we'll remove them... - rm -rf ${CROSS_DIR}/lib/ldscripts - rm -rf ${CROSS_DIR}/share/info - rm -rf ${CROSS_DIR}/share/locale - rm -rf ${CROSS_DIR}/share/man - rmdir ${CROSS_DIR}/share || : - rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : - rmdir ${CROSS_DIR}/${libdir}64/gcc-lib || : - rmdir ${CROSS_DIR}/${libdir} || : - rmdir ${CROSS_DIR}/${libdir}64 || : - rmdir ${CROSS_DIR}/${prefix} || : + rm -rf ${D}${CROSS_DIR}/lib/ldscripts + rm -rf ${D}${CROSS_DIR}/share/info + rm -rf ${D}${CROSS_DIR}/share/locale + rm -rf ${D}${CROSS_DIR}/share/man + rmdir ${D}${CROSS_DIR}/share || : + rmdir ${D}${CROSS_DIR}/${libdir}/gcc-lib || : + rmdir ${D}${CROSS_DIR}/${libdir}64/gcc-lib || : + rmdir ${D}${CROSS_DIR}/${libdir} || : + rmdir ${D}${CROSS_DIR}/${libdir}64 || : + rmdir ${D}${CROSS_DIR}/${prefix} || : } -do_install () { - : +do_stage () { + use_do_install_for_stage } diff --git a/recipes/binutils/binutils.inc b/recipes/binutils/binutils.inc index 49d3aeaa3c..ee44a5d7d6 100644 --- a/recipes/binutils/binutils.inc +++ b/recipes/binutils/binutils.inc @@ -76,24 +76,12 @@ do_configure () { # # must prime config.cache to ensure the build of libiberty # - mkdir -p ${B}/build-${BUILD_SYS} + mkdir -p ${B}/build-${BUILD_SYS} for i in ${CONFIG_SITE}; do - cat $i >> ${B}/build-${BUILD_SYS}/config.cache + cat $i >> ${B}/build-${BUILD_SYS}/config.cache done } -do_stage () { - oe_libinstall -so -a -C opcodes libopcodes ${STAGING_LIBDIR}/ - oe_libinstall -a -C libiberty libiberty ${STAGING_LIBDIR}/ - oe_libinstall -so -a -C bfd libbfd ${STAGING_LIBDIR}/ - install -m 0644 ${S}/include/dis-asm.h ${STAGING_INCDIR}/ - install -m 0644 ${S}/include/symcat.h ${STAGING_INCDIR}/ - install -m 0644 ${S}/include/libiberty.h ${STAGING_INCDIR}/ - install -m 0644 ${S}/include/ansidecl.h ${STAGING_INCDIR}/ - install -m 0644 ${S}/include/bfdlink.h ${STAGING_INCDIR}/ - install -m 0644 bfd/bfd.h ${STAGING_INCDIR}/ -} - do_install () { autotools_do_install diff --git a/recipes/binutils/binutils_2.14.90.0.6.bb b/recipes/binutils/binutils_2.14.90.0.6.bb index 34c2c30244..c539a9f9ec 100644 --- a/recipes/binutils/binutils_2.14.90.0.6.bb +++ b/recipes/binutils/binutils_2.14.90.0.6.bb @@ -41,15 +41,15 @@ FILES_${PN}-symlinks = " \ SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://ld_makefile.patch;patch=1 \ - file://better_file_error.patch;patch=1 \ - file://signed_char_fix.patch;patch=1 \ - file://binutils-uclibc-001-debian.patch;patch=1 \ - file://binutils-uclibc-100-conf.patch;patch=1 \ - file://binutils-uclibc-200-build_modules.patch;patch=1 \ - file://binutils-uclibc-210-cflags.patch;patch=1 \ - file://binutils-100_cflags_for_build.patch;patch=1 \ - file://plt32trunc.patch;patch=1" + file://ld_makefile.patch \ + file://better_file_error.patch \ + file://signed_char_fix.patch \ + file://binutils-uclibc-001-debian.patch \ + file://binutils-uclibc-100-conf.patch \ + file://binutils-uclibc-200-build_modules.patch \ + file://binutils-uclibc-210-cflags.patch \ + file://binutils-100_cflags_for_build.patch \ + file://plt32trunc.patch" S = "${WORKDIR}/binutils-${PV}" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/binutils/binutils_2.14.90.0.7.bb b/recipes/binutils/binutils_2.14.90.0.7.bb index 9af6fd43bf..4f5a56080d 100644 --- a/recipes/binutils/binutils_2.14.90.0.7.bb +++ b/recipes/binutils/binutils_2.14.90.0.7.bb @@ -40,17 +40,17 @@ FILES_${PN}-symlinks = " \ SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://ld_makefile.patch;patch=1 \ - file://better_file_error.patch;patch=1 \ - file://signed_char_fix.patch;patch=1 \ - file://binutils-uclibc-001-debian.patch;patch=1 \ - file://binutils-uclibc-100-conf.patch;patch=1 \ - file://binutils-uclibc-200-build_modules.patch;patch=1 \ - file://binutils-uclibc-210-cflags.patch;patch=1 \ - file://binutils-100_cflags_for_build.patch;patch=1 \ - file://plt32trunc.patch;patch=1 \ - file://600-arm-textrel.patch;patch=1 \ - file://binutils-2.14.90.0.7-fix-broken-configure.patch;patch=1" + file://ld_makefile.patch \ + file://better_file_error.patch \ + file://signed_char_fix.patch \ + file://binutils-uclibc-001-debian.patch \ + file://binutils-uclibc-100-conf.patch \ + file://binutils-uclibc-200-build_modules.patch \ + file://binutils-uclibc-210-cflags.patch \ + file://binutils-100_cflags_for_build.patch \ + file://plt32trunc.patch \ + file://600-arm-textrel.patch \ + file://binutils-2.14.90.0.7-fix-broken-configure.patch" S = "${WORKDIR}/binutils-${PV}" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/binutils/binutils_2.15.94.0.1.bb b/recipes/binutils/binutils_2.15.94.0.1.bb index fc2249b433..91cf368cfb 100644 --- a/recipes/binutils/binutils_2.15.94.0.1.bb +++ b/recipes/binutils/binutils_2.15.94.0.1.bb @@ -39,14 +39,14 @@ FILES_${PN}-symlinks = " \ SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://ld_makefile.patch;patch=1 \ - file://better_file_error.patch;patch=1 \ - file://signed_char_fix.patch;patch=1 \ - file://objdump_fix.patch;patch=1 \ - file://binutils-100_cflags_for_build.patch;patch=1 \ - file://binutils-2.15.91.0.1-uclibc-100-conf.patch;patch=1 \ - file://binutils-2.15.90.0.3-uclibc-200-build_modules.patch;patch=1 \ - file://binutils-2.15-allow-gcc-4.0.patch;patch=1" + file://ld_makefile.patch \ + file://better_file_error.patch \ + file://signed_char_fix.patch \ + file://objdump_fix.patch \ + file://binutils-100_cflags_for_build.patch \ + file://binutils-2.15.91.0.1-uclibc-100-conf.patch \ + file://binutils-2.15.90.0.3-uclibc-200-build_modules.patch \ + file://binutils-2.15-allow-gcc-4.0.patch" S = "${WORKDIR}/binutils-${PV}" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/binutils/binutils_2.16.1.bb b/recipes/binutils/binutils_2.16.1.bb index 861a8350a7..688856c1aa 100644 --- a/recipes/binutils/binutils_2.16.1.bb +++ b/recipes/binutils/binutils_2.16.1.bb @@ -3,13 +3,13 @@ PR = "r1" CROSSTOOL_PATCH_URL = "http://www.kegel.com/crosstool/crosstool-0.43/patches/binutils-2.16.1/" SRC_URI = \ "${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2;name=archive \ - ${CROSSTOOL_PATCH_URL}bfd-hash-tweak.patch;patch=1;name=patch1 \ - ${CROSSTOOL_PATCH_URL}binutils-2.15-psignal.patch;patch=1;name=patch2 \ - ${CROSSTOOL_PATCH_URL}binutils-skip-comments.patch;patch=1;name=patch3 \ - ${CROSSTOOL_PATCH_URL}callahan.patch;patch=1;name=patch4 \ - ${CROSSTOOL_PATCH_URL}cross-gprof.patch;patch=1;name=patch5 \ - ${CROSSTOOL_PATCH_URL}stabs-tweak.patch;patch=1;name=patch6 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1" + ${CROSSTOOL_PATCH_URL}bfd-hash-tweak.patch;name=patch1 \ + ${CROSSTOOL_PATCH_URL}binutils-2.15-psignal.patch;name=patch2 \ + ${CROSSTOOL_PATCH_URL}binutils-skip-comments.patch;name=patch3 \ + ${CROSSTOOL_PATCH_URL}callahan.patch;name=patch4 \ + ${CROSSTOOL_PATCH_URL}cross-gprof.patch;name=patch5 \ + ${CROSSTOOL_PATCH_URL}stabs-tweak.patch;name=patch6 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch" require binutils.inc diff --git a/recipes/binutils/binutils_2.16.91.0.6.bb b/recipes/binutils/binutils_2.16.91.0.6.bb index 28a2c52214..cbaa4a5cd9 100644 --- a/recipes/binutils/binutils_2.16.91.0.6.bb +++ b/recipes/binutils/binutils_2.16.91.0.6.bb @@ -44,13 +44,13 @@ FILES_${PN}-symlinks = " \ SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1 \ - file://binutils-uclibc-702-binutils-skip-comments.patch;patch=1" + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch \ + file://binutils-uclibc-702-binutils-skip-comments.patch" S = "${WORKDIR}/binutils-${PV}" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/binutils/binutils_2.16.91.0.7.bb b/recipes/binutils/binutils_2.16.91.0.7.bb index 662c2f4960..369dd0a943 100644 --- a/recipes/binutils/binutils_2.16.91.0.7.bb +++ b/recipes/binutils/binutils_2.16.91.0.7.bb @@ -40,13 +40,13 @@ FILES_${PN}-symlinks = " \ SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1 \ - file://binutils-uclibc-702-binutils-skip-comments.patch;patch=1" + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch \ + file://binutils-uclibc-702-binutils-skip-comments.patch" S = "${WORKDIR}/binutils-${PV}" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/binutils/binutils_2.16.bb b/recipes/binutils/binutils_2.16.bb index 3f1ad085ff..c8aa2de392 100644 --- a/recipes/binutils/binutils_2.16.bb +++ b/recipes/binutils/binutils_2.16.bb @@ -2,21 +2,21 @@ PR = "r10" SRC_URI = \ "${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ - file://ld_makefile.patch;patch=1 \ - file://better_file_error.patch;patch=1 \ - file://signed_char_fix.patch;patch=1 \ - file://binutils-2.16-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-100_cflags_for_build.patch;patch=1" + file://ld_makefile.patch \ + file://better_file_error.patch \ + file://signed_char_fix.patch \ + file://binutils-2.16-objcopy-rename-errorcode.patch \ + file://binutils-100_cflags_for_build.patch" # uclibc patches -SRC_URI += "file://binutils-2.16-linux-uclibc.patch;patch=1" +SRC_URI += "file://binutils-2.16-linux-uclibc.patch" # arm thumb support patches -SRC_URI += "file://binutils-2.16-thumb-trampoline.patch;patch=1" -SRC_URI += "file://binutils-2.16-thumb-glue.patch;patch=1" +SRC_URI += "file://binutils-2.16-thumb-trampoline.patch" +SRC_URI += "file://binutils-2.16-thumb-glue.patch" # powerpc patches -SRC_URI += "file://binutils-2.16.1-e300c2c3.patch;patch=1" +SRC_URI += "file://binutils-2.16.1-e300c2c3.patch" require binutils.inc diff --git a/recipes/binutils/binutils_2.17.50.0.1.bb b/recipes/binutils/binutils_2.17.50.0.1.bb index 4c3a1987c2..d1074311c8 100644 --- a/recipes/binutils/binutils_2.17.50.0.1.bb +++ b/recipes/binutils/binutils_2.17.50.0.1.bb @@ -39,13 +39,13 @@ FILES_${PN}-symlinks = " \ SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1 \ - file://binutils-uclibc-702-binutils-skip-comments.patch;patch=1" + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch \ + file://binutils-uclibc-702-binutils-skip-comments.patch" S = "${WORKDIR}/binutils-${PV}" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/binutils/binutils_2.17.50.0.12.bb b/recipes/binutils/binutils_2.17.50.0.12.bb index f49fa7e4b6..0d2ce9f357 100644 --- a/recipes/binutils/binutils_2.17.50.0.12.bb +++ b/recipes/binutils/binutils_2.17.50.0.12.bb @@ -4,12 +4,12 @@ PR = "${INC_PR}.1" SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ " SRC_URI[md5sum] = "6f3e83399b965d70008860f697c50ec2" diff --git a/recipes/binutils/binutils_2.17.50.0.5.bb b/recipes/binutils/binutils_2.17.50.0.5.bb index 6ca6cbaff5..9a4950d798 100644 --- a/recipes/binutils/binutils_2.17.50.0.5.bb +++ b/recipes/binutils/binutils_2.17.50.0.5.bb @@ -4,13 +4,13 @@ PR = "r3" SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://binutils-configure-texinfo-version.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://binutils-configure-texinfo-version.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ " SRC_URI[md5sum] = "00eccd47e19a9f24410a137a849aa3fc" diff --git a/recipes/binutils/binutils_2.17.50.0.8.bb b/recipes/binutils/binutils_2.17.50.0.8.bb index 4ece61c792..e8a6ebe749 100644 --- a/recipes/binutils/binutils_2.17.50.0.8.bb +++ b/recipes/binutils/binutils_2.17.50.0.8.bb @@ -4,13 +4,13 @@ PR = "r2" SRC_URI = \ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://binutils-configure-texinfo-version.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://binutils-configure-texinfo-version.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ " SRC_URI[md5sum] = "1441fe6fa44b344d0575cb66d3f89252" diff --git a/recipes/binutils/binutils_2.17.bb b/recipes/binutils/binutils_2.17.bb index bab0f01cc1..1ffa61d121 100644 --- a/recipes/binutils/binutils_2.17.bb +++ b/recipes/binutils/binutils_2.17.bb @@ -6,31 +6,31 @@ PR = "${INC_PR}.1" SRC_URI = \ "http://ftp.gnu.org/gnu/binutils/binutils-${PV}.tar.bz2 \ - file://better_file_error.patch;patch=1 \ - file://signed_char_fix.patch;patch=1 \ + file://better_file_error.patch \ + file://signed_char_fix.patch \ " #patches from http://svn.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/binutils/2.17/ SRC_URI += "\ - file://100-uclibc-conf.patch;patch=1 \ - file://300-006_better_file_error.patch;patch=1 \ - file://702-binutils-skip-comments.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://300-012_check_ldrunpath_length.patch;patch=1 \ - file://300-001_ld_makefile_patch.patch;patch=1 \ - file://400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1 \ + file://100-uclibc-conf.patch \ + file://300-006_better_file_error.patch \ + file://702-binutils-skip-comments.patch \ + file://110-arm-eabi-conf.patch \ + file://300-012_check_ldrunpath_length.patch \ + file://300-001_ld_makefile_patch.patch \ + file://400-mips-ELF_MAXPAGESIZE-4K.patch \ " # removed in favor of the atmel 1.2.6 patch which is supposedly newer (yes) -# file://500-avr32-atmel.1.3.0.patch;patch=1 \ -# file://501-avr32-fix-pool-alignment.patch;patch=1 \ +# file://500-avr32-atmel.1.3.0.patch \ +# file://501-avr32-fix-pool-alignment.patch \ SRC_URI_append_avr32 = "\ - file://binutils-2.17.atmel.1.2.6.patch.bz2;patch=1 \ + file://binutils-2.17.atmel.1.2.6.patch.bz2 \ " # Zecke's OSX fixes -SRC_URI += " file://warning-free.patch;patch=1 " +SRC_URI += " file://warning-free.patch " SRC_URI[md5sum] = "e26e2e06b6e4bf3acf1dc8688a94c0d1" SRC_URI[sha256sum] = "e2c33ce6f23c9a366f109ced295626cb2f8bd6b2f08ff9df6dafb5448505a25e" diff --git a/recipes/binutils/binutils_2.18.50.0.7.bb b/recipes/binutils/binutils_2.18.50.0.7.bb index c9b0d6d709..f9bb77acb8 100644 --- a/recipes/binutils/binutils_2.18.50.0.7.bb +++ b/recipes/binutils/binutils_2.18.50.0.7.bb @@ -6,19 +6,19 @@ LICENSE = "GPLv3" SRC_URI = "\ ${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ - file://binutils-arm-pr7093.patch;patch=1 \ - file://binutils-x86_64_i386_biarch.patch;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ + file://binutils-arm-pr7093.patch \ + file://binutils-x86_64_i386_biarch.patch \ " # powerpc patches -SRC_URI += "file://binutils-2.16.1-e300c2c3.patch;patch=1" +SRC_URI += "file://binutils-2.16.1-e300c2c3.patch" SRC_URI[md5sum] = "d5bce238060d631be60a3f1f1009a7ba" diff --git a/recipes/binutils/binutils_2.18.bb b/recipes/binutils/binutils_2.18.bb index c7931ccdb7..aab634bd84 100644 --- a/recipes/binutils/binutils_2.18.bb +++ b/recipes/binutils/binutils_2.18.bb @@ -6,27 +6,27 @@ LICENSE = "GPLv3" SRC_URI = "\ ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-configure-texinfo-version.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ - file://binutils-x86_64_i386_biarch.patch;patch=1 \ - file://binutils-section-in-segment.patch;patch=1;pnum=0 \ - file://parse-neon-vmov.diff;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-configure-texinfo-version.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ + file://binutils-x86_64_i386_biarch.patch \ + file://binutils-section-in-segment.patch;striplevel=0 \ + file://parse-neon-vmov.diff \ " # powerpc patches SRC_URI += "\ - file://binutils-2.16.1-e300c2c3.patch;patch=1 \ - file://binutils-powerpc-ld-segfault.patch;patch=1 \ + file://binutils-2.16.1-e300c2c3.patch \ + file://binutils-powerpc-ld-segfault.patch \ " # ep93xx crunch patches -SRC_URI_append_ep9312 = " file://binutils-crunch.patch;patch=1" +SRC_URI_append_ep9312 = " file://binutils-crunch.patch" SRC_URI[md5sum] = "9d22ee4dafa3a194457caf4706f9cf01" SRC_URI[sha256sum] = "487a33a452f0edcf1f8bb8fc23dff5c7a82edec3f3f8b65632b6c945e961ee9b" diff --git a/recipes/binutils/binutils_2.19.1.bb b/recipes/binutils/binutils_2.19.1.bb index 4a0126eb0e..68ac7c5741 100644 --- a/recipes/binutils/binutils_2.19.1.bb +++ b/recipes/binutils/binutils_2.19.1.bb @@ -6,19 +6,19 @@ LICENSE = "GPLv3" SRC_URI = "\ ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ - file://binutils-arm-pr7093.patch;patch=1 \ - file://binutils-x86_64_i386_biarch.patch;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ + file://binutils-arm-pr7093.patch \ + file://binutils-x86_64_i386_biarch.patch \ " # powerpc patches -SRC_URI += "file://binutils-2.16.1-e300c2c3.patch;patch=1" +SRC_URI += "file://binutils-2.16.1-e300c2c3.patch" SRC_URI[md5sum] = "09a8c5821a2dfdbb20665bc0bd680791" diff --git a/recipes/binutils/binutils_2.19.51.0.3.bb b/recipes/binutils/binutils_2.19.51.0.3.bb index f667997ab4..dea4551af7 100644 --- a/recipes/binutils/binutils_2.19.51.0.3.bb +++ b/recipes/binutils/binutils_2.19.51.0.3.bb @@ -6,19 +6,19 @@ LICENSE = "GPLv3" SRC_URI = "\ ${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ - file://binutils-arm-pr7093.patch;patch=1 \ - file://binutils-x86_64_i386_biarch.patch;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ + file://binutils-arm-pr7093.patch \ + file://binutils-x86_64_i386_biarch.patch \ " # powerpc patches -SRC_URI += "file://binutils-2.16.1-e300c2c3.patch;patch=1" +SRC_URI += "file://binutils-2.16.1-e300c2c3.patch" SRC_URI[md5sum] = "c55a2b1eadf818d38e963060412fadca" diff --git a/recipes/binutils/binutils_2.19.51.bb b/recipes/binutils/binutils_2.19.51.bb index aa53573743..0ebcb33cb8 100644 --- a/recipes/binutils/binutils_2.19.51.bb +++ b/recipes/binutils/binutils_2.19.51.bb @@ -5,19 +5,19 @@ LICENSE = "GPLv3" SRC_URI = "\ ftp://sourceware.org/pub/binutils/snapshots/binutils-${PV}.tar.bz2 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ - file://binutils-arm-pr7093.patch;patch=1 \ - file://ld-stub-crash.patch;patch=1;pnum=0 \ - file://thumb-func.patch;patch=1 \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ + file://binutils-arm-pr7093.patch \ + file://ld-stub-crash.patch;striplevel=0 \ + file://thumb-func.patch \ " # powerpc patches -SRC_URI += "file://binutils-2.16.1-e300c2c3.patch;patch=1" +SRC_URI += "file://binutils-2.16.1-e300c2c3.patch" SRC_URI[md5sum] = "fd59f36022f6ea802d1c844a2576e616" diff --git a/recipes/binutils/binutils_2.19.bb b/recipes/binutils/binutils_2.19.bb index 6552b0eb53..2a081dbc29 100644 --- a/recipes/binutils/binutils_2.19.bb +++ b/recipes/binutils/binutils_2.19.bb @@ -6,19 +6,19 @@ LICENSE = "GPLv3" SRC_URI = "\ ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ - file://binutils-arm-pr7093.patch;patch=1 \ - file://binutils-x86_64_i386_biarch.patch;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ + file://binutils-arm-pr7093.patch \ + file://binutils-x86_64_i386_biarch.patch \ " # powerpc patches -SRC_URI += "file://binutils-2.16.1-e300c2c3.patch;patch=1" +SRC_URI += "file://binutils-2.16.1-e300c2c3.patch" SRC_URI[md5sum] = "17a52219dee5a76c1a9d9b0bfd337d66" diff --git a/recipes/binutils/binutils_2.20.1.bb b/recipes/binutils/binutils_2.20.1.bb index e5e7f546c0..e573c276b0 100644 --- a/recipes/binutils/binutils_2.20.1.bb +++ b/recipes/binutils/binutils_2.20.1.bb @@ -6,13 +6,13 @@ PR = "${INC_PR}.0" SRC_URI = "\ ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2;name=tarball \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ - file://binutils-x86_64_i386_biarch.patch;patch=1 \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ + file://binutils-x86_64_i386_biarch.patch \ " SRC_URI[tarball.sha256sum] = "228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8" @@ -20,5 +20,5 @@ SRC_URI[tarball.md5sum] = "9cdfb9d6ec0578c166d3beae5e15c4e5" # powerpc patches SRC_URI += "\ - file://binutils-2.16.1-e300c2c3.patch;patch=1 \ + file://binutils-2.16.1-e300c2c3.patch \ " diff --git a/recipes/binutils/binutils_2.20.bb b/recipes/binutils/binutils_2.20.bb index 2ab71095ad..9d0438a73e 100644 --- a/recipes/binutils/binutils_2.20.bb +++ b/recipes/binutils/binutils_2.20.bb @@ -6,22 +6,22 @@ PR = "${INC_PR}.4" SRC_URI = "\ ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ - file://ld-stub-crash.patch;patch=1;pnum=0 \ - file://binutils-arm-non-empty-know.patch;patch=1 \ - file://binutils_unexport_LD_LIBRARY_PATH_for_CC_FOR_BUILD.patch;patch=1 \ - file://binutils-x86_64_i386_biarch.patch;patch=1 \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ + file://ld-stub-crash.patch;striplevel=0 \ + file://binutils-arm-non-empty-know.patch \ + file://binutils_unexport_LD_LIBRARY_PATH_for_CC_FOR_BUILD.patch \ + file://binutils-x86_64_i386_biarch.patch \ " # powerpc patches SRC_URI += "\ - file://binutils-2.16.1-e300c2c3.patch;patch=1 \ - file://binutils-powerpc-pr11088.patch;patch=1 \ + file://binutils-2.16.1-e300c2c3.patch \ + file://binutils-powerpc-pr11088.patch \ " SRC_URI[md5sum] = "ee2d3e996e9a2d669808713360fa96f8" diff --git a/recipes/binutils/binutils_csl-arm-20050416.bb b/recipes/binutils/binutils_csl-arm-20050416.bb index 2c7c2076c3..38f588f1f4 100644 --- a/recipes/binutils/binutils_csl-arm-20050416.bb +++ b/recipes/binutils/binutils_csl-arm-20050416.bb @@ -43,9 +43,9 @@ FILES_${PN}-symlinks = " \ ${bindir}/strip" SRC_URI = "cvs://anoncvs:anoncvs@sources.redhat.com/cvs/src;module=binutils;method=pserver;localdir=src;tag=binutils-csl-arm-2005q1-branch;date=20050416 \ - file://ld_makefile.patch;patch=1 \ - file://better_file_error.patch;patch=1 \ - file://signed_char_fix.patch;patch=1" + file://ld_makefile.patch \ + file://better_file_error.patch \ + file://signed_char_fix.patch" S = "${WORKDIR}/src" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/binutils/binutils_csl-arm-20050603.bb b/recipes/binutils/binutils_csl-arm-20050603.bb index 13759b47ad..a435b56030 100644 --- a/recipes/binutils/binutils_csl-arm-20050603.bb +++ b/recipes/binutils/binutils_csl-arm-20050603.bb @@ -43,9 +43,9 @@ FILES_${PN}-symlinks = " \ ${bindir}/strip" SRC_URI = "cvs://anoncvs:anoncvs@sources.redhat.com/cvs/src;module=binutils;method=pserver;localdir=src;tag=binutils-csl-arm-2005q1-branch;date=20050603 \ - file://ld_makefile.patch;patch=1 \ - file://better_file_error.patch;patch=1 \ - file://signed_char_fix.patch;patch=1" + file://ld_makefile.patch \ + file://better_file_error.patch \ + file://signed_char_fix.patch" S = "${WORKDIR}/src" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/recipes/binutils/binutils_cvs.bb b/recipes/binutils/binutils_cvs.bb index b335767687..e852afbdde 100644 --- a/recipes/binutils/binutils_cvs.bb +++ b/recipes/binutils/binutils_cvs.bb @@ -1,20 +1,20 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-cvs" PV = "2.20+cvs${SRCDATE}" INC_PR = "r5" -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" require binutils.inc S = "${WORKDIR}/src" EXTRA_OEMAKE = "configure-build-libiberty" SRC_URI = "cvs://anoncvs:anoncvs@sources.redhat.com/cvs/src;module=binutils;method=pserver;localdir=src \ - file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1;maxdate=20090801 \ - file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \ - file://110-arm-eabi-conf.patch;patch=1 \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \ - file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \ - file://binutils-uclibc-gas-needs-libm.patch;patch=1 \ + file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;maxdate=20090801 \ + file://binutils-uclibc-100-uclibc-conf.patch \ + file://110-arm-eabi-conf.patch \ + file://binutils-uclibc-300-001_ld_makefile_patch.patch \ + file://binutils-uclibc-300-006_better_file_error.patch \ + file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ + file://binutils-uclibc-gas-needs-libm.patch \ " do_compile () { @@ -49,14 +49,3 @@ do_install () { rm ${D}${bindir}/ar ${D}${bindir}/strings } -do_stage () { - oe_libinstall -so -a -C opcodes libopcodes ${STAGING_LIBDIR}/ - oe_libinstall -a -C libiberty libiberty ${STAGING_LIBDIR}/ - oe_libinstall -so -a -C bfd libbfd ${STAGING_LIBDIR}/ - install -m 0644 ${S}/include/dis-asm.h ${STAGING_INCDIR}/ - install -m 0644 ${S}/include/symcat.h ${STAGING_INCDIR}/ - install -m 0644 ${S}/include/libiberty.h ${STAGING_INCDIR}/ - install -m 0644 ${S}/include/ansidecl.h ${STAGING_INCDIR}/ - install -m 0644 ${S}/include/bfdlink.h ${STAGING_INCDIR}/ - install -m 0644 bfd/bfd.h ${STAGING_INCDIR}/ -} |