From 38b7c7c2fd568f5d23c789270f7dcb1ce9124025 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Tue, 11 May 2004 04:43:25 +0000 Subject: uclibc vs. glibc cleanup (eliminate distinct uclibc packages) BKrev: 40a059edeEwCh8PT1OwxWpRHOZD-gA --- .../binutils-001_ld_makefile.patch | 0 .../binutils-006_better_file_error.patch | 0 .../binutils-009_signed_char_fix.patch | 0 .../binutils-010-crossbuild.patch | 0 .../binutils-012_check_ldrunpath_length.patch | 0 .../binutils-100_cflags_for_build.patch | 0 .../binutils-906-hjl_libtool_dso.patch | 0 .../binutils-001_ld_makefile.patch | 0 .../binutils-006_better_file_error.patch | 0 .../binutils-009_signed_char_fix.patch | 0 .../binutils-010-crossbuild.patch | 0 .../binutils-012_check_ldrunpath_length.patch | 0 .../binutils-100_cflags_for_build.patch | 0 .../binutils-906-hjl_libtool_dso.patch | 0 .../binutils-001_ld_makefile.patch | 0 .../binutils-006_better_file_error.patch | 0 .../binutils-009_signed_char_fix.patch | 0 .../binutils-010-crossbuild.patch | 0 .../binutils-012_check_ldrunpath_length.patch | 0 .../binutils-100_cflags_for_build.patch | 0 .../binutils-906-hjl_libtool_dso.patch | 0 .../binutils-001_ld_makefile.patch | 0 .../binutils-006_better_file_error.patch | 0 .../binutils-009_signed_char_fix.patch | 0 .../binutils-010-crossbuild.patch | 0 .../binutils-012_check_ldrunpath_length.patch | 0 .../binutils-100_cflags_for_build.patch | 0 .../binutils-906-hjl_libtool_dso.patch | 0 binutils/binutils-cross_2.14.90.0.6.oe | 32 ------- binutils/binutils-cross_2.14.90.0.7.oe | 32 ------- binutils/binutils-cross_2.14.90.0.8.oe | 32 ------- binutils/binutils-cross_2.15.90.0.1.oe | 32 ------- binutils/binutils-uclibc-cross_2.14.90.0.6.oe | 32 ------- binutils/binutils-uclibc-cross_2.14.90.0.7.oe | 32 ------- binutils/binutils-uclibc-cross_2.14.90.0.8.oe | 32 ------- binutils/binutils-uclibc-cross_2.15.90.0.1.oe | 32 ------- binutils/binutils-uclibc-cross_2.15.90.0.3.oe | 0 binutils/binutils-uclibc_2.14.90.0.6.oe | 13 --- binutils/binutils-uclibc_2.14.90.0.7.oe | 13 --- binutils/binutils-uclibc_2.14.90.0.8.oe | 13 --- binutils/binutils-uclibc_2.15.90.0.1.oe | 13 --- binutils/binutils-uclibc_2.15.90.0.3.oe | 0 binutils/binutils_2.14.90.0.6.oe | 106 --------------------- binutils/binutils_2.14.90.0.7.oe | 106 --------------------- binutils/binutils_2.14.90.0.8.oe | 105 -------------------- binutils/binutils_2.15.90.0.1.oe | 105 -------------------- binutils/binutils_2.15.90.0.3.oe | 90 +++++++++++++++++ 47 files changed, 90 insertions(+), 730 deletions(-) delete mode 100644 binutils/binutils-2.14.90.0.6/binutils-001_ld_makefile.patch delete mode 100644 binutils/binutils-2.14.90.0.6/binutils-006_better_file_error.patch delete mode 100644 binutils/binutils-2.14.90.0.6/binutils-009_signed_char_fix.patch delete mode 100644 binutils/binutils-2.14.90.0.6/binutils-010-crossbuild.patch delete mode 100644 binutils/binutils-2.14.90.0.6/binutils-012_check_ldrunpath_length.patch delete mode 100644 binutils/binutils-2.14.90.0.6/binutils-100_cflags_for_build.patch delete mode 100644 binutils/binutils-2.14.90.0.6/binutils-906-hjl_libtool_dso.patch delete mode 100644 binutils/binutils-2.14.90.0.7/binutils-001_ld_makefile.patch delete mode 100644 binutils/binutils-2.14.90.0.7/binutils-006_better_file_error.patch delete mode 100644 binutils/binutils-2.14.90.0.7/binutils-009_signed_char_fix.patch delete mode 100644 binutils/binutils-2.14.90.0.7/binutils-010-crossbuild.patch delete mode 100644 binutils/binutils-2.14.90.0.7/binutils-012_check_ldrunpath_length.patch delete mode 100644 binutils/binutils-2.14.90.0.7/binutils-100_cflags_for_build.patch delete mode 100644 binutils/binutils-2.14.90.0.7/binutils-906-hjl_libtool_dso.patch delete mode 100644 binutils/binutils-2.14.90.0.8/binutils-001_ld_makefile.patch delete mode 100644 binutils/binutils-2.14.90.0.8/binutils-006_better_file_error.patch delete mode 100644 binutils/binutils-2.14.90.0.8/binutils-009_signed_char_fix.patch delete mode 100644 binutils/binutils-2.14.90.0.8/binutils-010-crossbuild.patch delete mode 100644 binutils/binutils-2.14.90.0.8/binutils-012_check_ldrunpath_length.patch delete mode 100644 binutils/binutils-2.14.90.0.8/binutils-100_cflags_for_build.patch delete mode 100644 binutils/binutils-2.14.90.0.8/binutils-906-hjl_libtool_dso.patch delete mode 100644 binutils/binutils-2.15.90.0.1/binutils-001_ld_makefile.patch delete mode 100644 binutils/binutils-2.15.90.0.1/binutils-006_better_file_error.patch delete mode 100644 binutils/binutils-2.15.90.0.1/binutils-009_signed_char_fix.patch delete mode 100644 binutils/binutils-2.15.90.0.1/binutils-010-crossbuild.patch delete mode 100644 binutils/binutils-2.15.90.0.1/binutils-012_check_ldrunpath_length.patch delete mode 100644 binutils/binutils-2.15.90.0.1/binutils-100_cflags_for_build.patch delete mode 100644 binutils/binutils-2.15.90.0.1/binutils-906-hjl_libtool_dso.patch delete mode 100644 binutils/binutils-cross_2.14.90.0.6.oe delete mode 100644 binutils/binutils-cross_2.14.90.0.7.oe delete mode 100644 binutils/binutils-cross_2.14.90.0.8.oe delete mode 100644 binutils/binutils-cross_2.15.90.0.1.oe delete mode 100644 binutils/binutils-uclibc-cross_2.14.90.0.6.oe delete mode 100644 binutils/binutils-uclibc-cross_2.14.90.0.7.oe delete mode 100644 binutils/binutils-uclibc-cross_2.14.90.0.8.oe delete mode 100644 binutils/binutils-uclibc-cross_2.15.90.0.1.oe delete mode 100644 binutils/binutils-uclibc-cross_2.15.90.0.3.oe delete mode 100644 binutils/binutils-uclibc_2.14.90.0.6.oe delete mode 100644 binutils/binutils-uclibc_2.14.90.0.7.oe delete mode 100644 binutils/binutils-uclibc_2.14.90.0.8.oe delete mode 100644 binutils/binutils-uclibc_2.15.90.0.1.oe delete mode 100644 binutils/binutils-uclibc_2.15.90.0.3.oe delete mode 100644 binutils/binutils_2.14.90.0.6.oe delete mode 100644 binutils/binutils_2.14.90.0.7.oe delete mode 100644 binutils/binutils_2.14.90.0.8.oe delete mode 100644 binutils/binutils_2.15.90.0.1.oe (limited to 'binutils') diff --git a/binutils/binutils-2.14.90.0.6/binutils-001_ld_makefile.patch b/binutils/binutils-2.14.90.0.6/binutils-001_ld_makefile.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.6/binutils-006_better_file_error.patch b/binutils/binutils-2.14.90.0.6/binutils-006_better_file_error.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.6/binutils-009_signed_char_fix.patch b/binutils/binutils-2.14.90.0.6/binutils-009_signed_char_fix.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.6/binutils-010-crossbuild.patch b/binutils/binutils-2.14.90.0.6/binutils-010-crossbuild.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.6/binutils-012_check_ldrunpath_length.patch b/binutils/binutils-2.14.90.0.6/binutils-012_check_ldrunpath_length.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.6/binutils-100_cflags_for_build.patch b/binutils/binutils-2.14.90.0.6/binutils-100_cflags_for_build.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.6/binutils-906-hjl_libtool_dso.patch b/binutils/binutils-2.14.90.0.6/binutils-906-hjl_libtool_dso.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.7/binutils-001_ld_makefile.patch b/binutils/binutils-2.14.90.0.7/binutils-001_ld_makefile.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.7/binutils-006_better_file_error.patch b/binutils/binutils-2.14.90.0.7/binutils-006_better_file_error.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.7/binutils-009_signed_char_fix.patch b/binutils/binutils-2.14.90.0.7/binutils-009_signed_char_fix.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.7/binutils-010-crossbuild.patch b/binutils/binutils-2.14.90.0.7/binutils-010-crossbuild.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.7/binutils-012_check_ldrunpath_length.patch b/binutils/binutils-2.14.90.0.7/binutils-012_check_ldrunpath_length.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.7/binutils-100_cflags_for_build.patch b/binutils/binutils-2.14.90.0.7/binutils-100_cflags_for_build.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.7/binutils-906-hjl_libtool_dso.patch b/binutils/binutils-2.14.90.0.7/binutils-906-hjl_libtool_dso.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.8/binutils-001_ld_makefile.patch b/binutils/binutils-2.14.90.0.8/binutils-001_ld_makefile.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.8/binutils-006_better_file_error.patch b/binutils/binutils-2.14.90.0.8/binutils-006_better_file_error.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.8/binutils-009_signed_char_fix.patch b/binutils/binutils-2.14.90.0.8/binutils-009_signed_char_fix.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.8/binutils-010-crossbuild.patch b/binutils/binutils-2.14.90.0.8/binutils-010-crossbuild.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.8/binutils-012_check_ldrunpath_length.patch b/binutils/binutils-2.14.90.0.8/binutils-012_check_ldrunpath_length.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.8/binutils-100_cflags_for_build.patch b/binutils/binutils-2.14.90.0.8/binutils-100_cflags_for_build.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.14.90.0.8/binutils-906-hjl_libtool_dso.patch b/binutils/binutils-2.14.90.0.8/binutils-906-hjl_libtool_dso.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.15.90.0.1/binutils-001_ld_makefile.patch b/binutils/binutils-2.15.90.0.1/binutils-001_ld_makefile.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.15.90.0.1/binutils-006_better_file_error.patch b/binutils/binutils-2.15.90.0.1/binutils-006_better_file_error.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.15.90.0.1/binutils-009_signed_char_fix.patch b/binutils/binutils-2.15.90.0.1/binutils-009_signed_char_fix.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.15.90.0.1/binutils-010-crossbuild.patch b/binutils/binutils-2.15.90.0.1/binutils-010-crossbuild.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.15.90.0.1/binutils-012_check_ldrunpath_length.patch b/binutils/binutils-2.15.90.0.1/binutils-012_check_ldrunpath_length.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.15.90.0.1/binutils-100_cflags_for_build.patch b/binutils/binutils-2.15.90.0.1/binutils-100_cflags_for_build.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-2.15.90.0.1/binutils-906-hjl_libtool_dso.patch b/binutils/binutils-2.15.90.0.1/binutils-906-hjl_libtool_dso.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-cross_2.14.90.0.6.oe b/binutils/binutils-cross_2.14.90.0.6.oe deleted file mode 100644 index bcd05014fc..0000000000 --- a/binutils/binutils-cross_2.14.90.0.6.oe +++ /dev/null @@ -1,32 +0,0 @@ -include binutils_${PV}.oe -inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}binutils" -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake 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} || : - rmdir ${CROSS_DIR}/${prefix} || : - - # We want to move this into the target specific location - mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} - diff --git a/binutils/binutils-cross_2.14.90.0.7.oe b/binutils/binutils-cross_2.14.90.0.7.oe deleted file mode 100644 index bcd05014fc..0000000000 --- a/binutils/binutils-cross_2.14.90.0.7.oe +++ /dev/null @@ -1,32 +0,0 @@ -include binutils_${PV}.oe -inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}binutils" -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake 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} || : - rmdir ${CROSS_DIR}/${prefix} || : - - # We want to move this into the target specific location - mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} - diff --git a/binutils/binutils-cross_2.14.90.0.8.oe b/binutils/binutils-cross_2.14.90.0.8.oe deleted file mode 100644 index bcd05014fc..0000000000 --- a/binutils/binutils-cross_2.14.90.0.8.oe +++ /dev/null @@ -1,32 +0,0 @@ -include binutils_${PV}.oe -inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}binutils" -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake 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} || : - rmdir ${CROSS_DIR}/${prefix} || : - - # We want to move this into the target specific location - mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} - diff --git a/binutils/binutils-cross_2.15.90.0.1.oe b/binutils/binutils-cross_2.15.90.0.1.oe deleted file mode 100644 index bcd05014fc..0000000000 --- a/binutils/binutils-cross_2.15.90.0.1.oe +++ /dev/null @@ -1,32 +0,0 @@ -include binutils_${PV}.oe -inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}binutils" -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake 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} || : - rmdir ${CROSS_DIR}/${prefix} || : - - # We want to move this into the target specific location - mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} - diff --git a/binutils/binutils-uclibc-cross_2.14.90.0.6.oe b/binutils/binutils-uclibc-cross_2.14.90.0.6.oe deleted file mode 100644 index 6cf82282f8..0000000000 --- a/binutils/binutils-uclibc-cross_2.14.90.0.6.oe +++ /dev/null @@ -1,32 +0,0 @@ -include binutils-uclibc_${PV}.oe -inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}binutils" -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake 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} || : - rmdir ${CROSS_DIR}${prefix} || : - - # We want to move this into the target specific location - mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} - diff --git a/binutils/binutils-uclibc-cross_2.14.90.0.7.oe b/binutils/binutils-uclibc-cross_2.14.90.0.7.oe deleted file mode 100644 index 6cf82282f8..0000000000 --- a/binutils/binutils-uclibc-cross_2.14.90.0.7.oe +++ /dev/null @@ -1,32 +0,0 @@ -include binutils-uclibc_${PV}.oe -inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}binutils" -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake 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} || : - rmdir ${CROSS_DIR}${prefix} || : - - # We want to move this into the target specific location - mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} - diff --git a/binutils/binutils-uclibc-cross_2.14.90.0.8.oe b/binutils/binutils-uclibc-cross_2.14.90.0.8.oe deleted file mode 100644 index 6cf82282f8..0000000000 --- a/binutils/binutils-uclibc-cross_2.14.90.0.8.oe +++ /dev/null @@ -1,32 +0,0 @@ -include binutils-uclibc_${PV}.oe -inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}binutils" -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake 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} || : - rmdir ${CROSS_DIR}${prefix} || : - - # We want to move this into the target specific location - mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} - diff --git a/binutils/binutils-uclibc-cross_2.15.90.0.1.oe b/binutils/binutils-uclibc-cross_2.15.90.0.1.oe deleted file mode 100644 index 6cf82282f8..0000000000 --- a/binutils/binutils-uclibc-cross_2.15.90.0.1.oe +++ /dev/null @@ -1,32 +0,0 @@ -include binutils-uclibc_${PV}.oe -inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}binutils" -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" -PACKAGES = "" -EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -do_stage () { - oe_runmake 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} || : - rmdir ${CROSS_DIR}${prefix} || : - - # We want to move this into the target specific location - mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib - rmdir ${CROSS_DIR}/lib || : -} - -do_install () { - : -} - diff --git a/binutils/binutils-uclibc-cross_2.15.90.0.3.oe b/binutils/binutils-uclibc-cross_2.15.90.0.3.oe deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils-uclibc_2.14.90.0.6.oe b/binutils/binutils-uclibc_2.14.90.0.6.oe deleted file mode 100644 index ffe7748799..0000000000 --- a/binutils/binutils-uclibc_2.14.90.0.6.oe +++ /dev/null @@ -1,13 +0,0 @@ -include binutils_${PV}.oe -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" - -binutilsbuild_do_patch () { - oenote IN binutils patch - perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *` -} - -python do_patch () { - oe.build.exec_func('base_do_patch', d) - oe.build.exec_func('binutilsbuild_do_patch', d) -} - diff --git a/binutils/binutils-uclibc_2.14.90.0.7.oe b/binutils/binutils-uclibc_2.14.90.0.7.oe deleted file mode 100644 index ffe7748799..0000000000 --- a/binutils/binutils-uclibc_2.14.90.0.7.oe +++ /dev/null @@ -1,13 +0,0 @@ -include binutils_${PV}.oe -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" - -binutilsbuild_do_patch () { - oenote IN binutils patch - perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *` -} - -python do_patch () { - oe.build.exec_func('base_do_patch', d) - oe.build.exec_func('binutilsbuild_do_patch', d) -} - diff --git a/binutils/binutils-uclibc_2.14.90.0.8.oe b/binutils/binutils-uclibc_2.14.90.0.8.oe deleted file mode 100644 index ffe7748799..0000000000 --- a/binutils/binutils-uclibc_2.14.90.0.8.oe +++ /dev/null @@ -1,13 +0,0 @@ -include binutils_${PV}.oe -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" - -binutilsbuild_do_patch () { - oenote IN binutils patch - perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *` -} - -python do_patch () { - oe.build.exec_func('base_do_patch', d) - oe.build.exec_func('binutilsbuild_do_patch', d) -} - diff --git a/binutils/binutils-uclibc_2.15.90.0.1.oe b/binutils/binutils-uclibc_2.15.90.0.1.oe deleted file mode 100644 index ffe7748799..0000000000 --- a/binutils/binutils-uclibc_2.15.90.0.1.oe +++ /dev/null @@ -1,13 +0,0 @@ -include binutils_${PV}.oe -FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}" - -binutilsbuild_do_patch () { - oenote IN binutils patch - perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *` -} - -python do_patch () { - oe.build.exec_func('base_do_patch', d) - oe.build.exec_func('binutilsbuild_do_patch', d) -} - diff --git a/binutils/binutils-uclibc_2.15.90.0.3.oe b/binutils/binutils-uclibc_2.15.90.0.3.oe deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/binutils/binutils_2.14.90.0.6.oe b/binutils/binutils_2.14.90.0.6.oe deleted file mode 100644 index 9d25471e1b..0000000000 --- a/binutils/binutils_2.14.90.0.6.oe +++ /dev/null @@ -1,106 +0,0 @@ -inherit autotools - -DESCRIPTION = "A GNU collection of binary utilities" -LICENSE = "GPL" -MAINTAINER = "Gerald Britton " - -# -# For now, we will skip building of a gcc package if it is a uclibc one -# and our build is not a uclibc one, and we skip a glibc one if our build -# is a uclibc build. -# -# See the note in gcc/gcc_3.4.0.oe -# - -python __anonymous () { - import oe, re - uc_pkg = (re.search('uclibc', oe.data.getVar('PN', d, 1)) != None) - uc_os = (re.match('.*uclibc$', oe.data.getVar('TARGET_OS', d, 1)) != None) - if uc_pkg != uc_os: - raise oe.parse.SkipPackage("incompatible with target %s" % - oe.data.getVar('TARGET_OS', d, 1)) -} - -PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" - -FILES_${PN} = " \ - ${bindir}/${TARGET_PREFIX}*" - -FILES_${PN}-dev = " \ - ${includedir} \ - ${libdir}/*.a" - -FILES_${PN}-symlinks = " \ - ${bindir}/addr2line \ - ${bindir}/ar \ - ${bindir}/as \ - ${bindir}/ld \ - ${bindir}/nm \ - ${bindir}/objcopy \ - ${bindir}/objdump \ - ${bindir}/ranlib \ - ${bindir}/readelf \ - ${bindir}/size \ - ${bindir}/strings \ - ${bindir}/strip" - -SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \ - file://${FILESDIR}/binutils-006_better_file_error.patch;patch=1 \ - file://${FILESDIR}/binutils-009_signed_char_fix.patch;patch=1 \ - file://${FILESDIR}/binutils-012_check_ldrunpath_length.patch;patch=1 \ - file://${FILESDIR}/binutils-100_cflags_for_build.patch;patch=1 \ - file://${FILESDIR}/binutils-906-hjl_libtool_dso.patch;patch=1" - -S = "${WORKDIR}/binutils-${PV}" -B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" - -EXTRA_OECONF = "--with-sysroot=${prefix} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -# This is necessary due to a bug in the binutils Makefiles -EXTRA_OEMAKE = "configure-build-libiberty all" - -export AR = "${HOST_PREFIX}ar" -export AS = "${HOST_PREFIX}as" -export LD = "${HOST_PREFIX}ld" -export NM = "${HOST_PREFIX}nm" -export RANLIB = "${HOST_PREFIX}ranlib" -export OBJCOPY = "${HOST_PREFIX}objcopy" -export OBJDUMP = "${HOST_PREFIX}objdump" - -export AR_FOR_TARGET = "${TARGET_PREFIX}ar" -export AS_FOR_TARGET = "${TARGET_PREFIX}as" -export LD_FOR_TARGET = "${TARGET_PREFIX}ld" -export NM_FOR_TARGET = "${TARGET_PREFIX}nm" -export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib" - -export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" -export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" - -export CC_FOR_BUILD = "${BUILD_CC}" - -export CC = "${CCACHE} ${HOST_PREFIX}gcc" - -do_configure () { - oe_runconf -} - -do_install () { - autotools_do_install - - # We don't really need these, so we'll remove them... - rm -rf ${D}/${libdir}/ldscripts - - # Install the libiberty header - 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 -} diff --git a/binutils/binutils_2.14.90.0.7.oe b/binutils/binutils_2.14.90.0.7.oe deleted file mode 100644 index 9d25471e1b..0000000000 --- a/binutils/binutils_2.14.90.0.7.oe +++ /dev/null @@ -1,106 +0,0 @@ -inherit autotools - -DESCRIPTION = "A GNU collection of binary utilities" -LICENSE = "GPL" -MAINTAINER = "Gerald Britton " - -# -# For now, we will skip building of a gcc package if it is a uclibc one -# and our build is not a uclibc one, and we skip a glibc one if our build -# is a uclibc build. -# -# See the note in gcc/gcc_3.4.0.oe -# - -python __anonymous () { - import oe, re - uc_pkg = (re.search('uclibc', oe.data.getVar('PN', d, 1)) != None) - uc_os = (re.match('.*uclibc$', oe.data.getVar('TARGET_OS', d, 1)) != None) - if uc_pkg != uc_os: - raise oe.parse.SkipPackage("incompatible with target %s" % - oe.data.getVar('TARGET_OS', d, 1)) -} - -PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" - -FILES_${PN} = " \ - ${bindir}/${TARGET_PREFIX}*" - -FILES_${PN}-dev = " \ - ${includedir} \ - ${libdir}/*.a" - -FILES_${PN}-symlinks = " \ - ${bindir}/addr2line \ - ${bindir}/ar \ - ${bindir}/as \ - ${bindir}/ld \ - ${bindir}/nm \ - ${bindir}/objcopy \ - ${bindir}/objdump \ - ${bindir}/ranlib \ - ${bindir}/readelf \ - ${bindir}/size \ - ${bindir}/strings \ - ${bindir}/strip" - -SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \ - file://${FILESDIR}/binutils-006_better_file_error.patch;patch=1 \ - file://${FILESDIR}/binutils-009_signed_char_fix.patch;patch=1 \ - file://${FILESDIR}/binutils-012_check_ldrunpath_length.patch;patch=1 \ - file://${FILESDIR}/binutils-100_cflags_for_build.patch;patch=1 \ - file://${FILESDIR}/binutils-906-hjl_libtool_dso.patch;patch=1" - -S = "${WORKDIR}/binutils-${PV}" -B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" - -EXTRA_OECONF = "--with-sysroot=${prefix} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -# This is necessary due to a bug in the binutils Makefiles -EXTRA_OEMAKE = "configure-build-libiberty all" - -export AR = "${HOST_PREFIX}ar" -export AS = "${HOST_PREFIX}as" -export LD = "${HOST_PREFIX}ld" -export NM = "${HOST_PREFIX}nm" -export RANLIB = "${HOST_PREFIX}ranlib" -export OBJCOPY = "${HOST_PREFIX}objcopy" -export OBJDUMP = "${HOST_PREFIX}objdump" - -export AR_FOR_TARGET = "${TARGET_PREFIX}ar" -export AS_FOR_TARGET = "${TARGET_PREFIX}as" -export LD_FOR_TARGET = "${TARGET_PREFIX}ld" -export NM_FOR_TARGET = "${TARGET_PREFIX}nm" -export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib" - -export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" -export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" - -export CC_FOR_BUILD = "${BUILD_CC}" - -export CC = "${CCACHE} ${HOST_PREFIX}gcc" - -do_configure () { - oe_runconf -} - -do_install () { - autotools_do_install - - # We don't really need these, so we'll remove them... - rm -rf ${D}/${libdir}/ldscripts - - # Install the libiberty header - 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 -} diff --git a/binutils/binutils_2.14.90.0.8.oe b/binutils/binutils_2.14.90.0.8.oe deleted file mode 100644 index 1489ea1df6..0000000000 --- a/binutils/binutils_2.14.90.0.8.oe +++ /dev/null @@ -1,105 +0,0 @@ -inherit autotools - -DESCRIPTION = "A GNU collection of binary utilities" -LICENSE = "GPL" -MAINTAINER = "Gerald Britton " - -# -# For now, we will skip building of a gcc package if it is a uclibc one -# and our build is not a uclibc one, and we skip a glibc one if our build -# is a uclibc build. -# -# See the note in gcc/gcc_3.4.0.oe -# - -python __anonymous () { - import oe, re - uc_pkg = (re.search('uclibc', oe.data.getVar('PN', d, 1)) != None) - uc_os = (re.match('.*uclibc$', oe.data.getVar('TARGET_OS', d, 1)) != None) - if uc_pkg != uc_os: - raise oe.parse.SkipPackage("incompatible with target %s" % - oe.data.getVar('TARGET_OS', d, 1)) -} - -PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" - -FILES_${PN} = " \ - ${bindir}/${TARGET_PREFIX}*" - -FILES_${PN}-dev = " \ - ${includedir} \ - ${libdir}/*.a" - -FILES_${PN}-symlinks = " \ - ${bindir}/addr2line \ - ${bindir}/ar \ - ${bindir}/as \ - ${bindir}/ld \ - ${bindir}/nm \ - ${bindir}/objcopy \ - ${bindir}/objdump \ - ${bindir}/ranlib \ - ${bindir}/readelf \ - ${bindir}/size \ - ${bindir}/strings \ - ${bindir}/strip" - -SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \ - file://${FILESDIR}/binutils-006_better_file_error.patch;patch=1 \ - file://${FILESDIR}/binutils-009_signed_char_fix.patch;patch=1 \ - file://${FILESDIR}/binutils-012_check_ldrunpath_length.patch;patch=1 \ - file://${FILESDIR}/binutils-100_cflags_for_build.patch;patch=1" - -S = "${WORKDIR}/binutils-${PV}" -B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" - -EXTRA_OECONF = "--with-sysroot=${prefix} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -# This is necessary due to a bug in the binutils Makefiles -EXTRA_OEMAKE = "configure-build-libiberty all" - -export AR = "${HOST_PREFIX}ar" -export AS = "${HOST_PREFIX}as" -export LD = "${HOST_PREFIX}ld" -export NM = "${HOST_PREFIX}nm" -export RANLIB = "${HOST_PREFIX}ranlib" -export OBJCOPY = "${HOST_PREFIX}objcopy" -export OBJDUMP = "${HOST_PREFIX}objdump" - -export AR_FOR_TARGET = "${TARGET_PREFIX}ar" -export AS_FOR_TARGET = "${TARGET_PREFIX}as" -export LD_FOR_TARGET = "${TARGET_PREFIX}ld" -export NM_FOR_TARGET = "${TARGET_PREFIX}nm" -export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib" - -export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" -export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" - -export CC_FOR_BUILD = "${BUILD_CC}" - -export CC = "${CCACHE} ${HOST_PREFIX}gcc" - -do_configure () { - oe_runconf -} - -do_install () { - autotools_do_install - - # We don't really need these, so we'll remove them... - rm -rf ${D}/${libdir}/ldscripts - - # Install the libiberty header - 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 -} diff --git a/binutils/binutils_2.15.90.0.1.oe b/binutils/binutils_2.15.90.0.1.oe deleted file mode 100644 index 1489ea1df6..0000000000 --- a/binutils/binutils_2.15.90.0.1.oe +++ /dev/null @@ -1,105 +0,0 @@ -inherit autotools - -DESCRIPTION = "A GNU collection of binary utilities" -LICENSE = "GPL" -MAINTAINER = "Gerald Britton " - -# -# For now, we will skip building of a gcc package if it is a uclibc one -# and our build is not a uclibc one, and we skip a glibc one if our build -# is a uclibc build. -# -# See the note in gcc/gcc_3.4.0.oe -# - -python __anonymous () { - import oe, re - uc_pkg = (re.search('uclibc', oe.data.getVar('PN', d, 1)) != None) - uc_os = (re.match('.*uclibc$', oe.data.getVar('TARGET_OS', d, 1)) != None) - if uc_pkg != uc_os: - raise oe.parse.SkipPackage("incompatible with target %s" % - oe.data.getVar('TARGET_OS', d, 1)) -} - -PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" - -FILES_${PN} = " \ - ${bindir}/${TARGET_PREFIX}*" - -FILES_${PN}-dev = " \ - ${includedir} \ - ${libdir}/*.a" - -FILES_${PN}-symlinks = " \ - ${bindir}/addr2line \ - ${bindir}/ar \ - ${bindir}/as \ - ${bindir}/ld \ - ${bindir}/nm \ - ${bindir}/objcopy \ - ${bindir}/objdump \ - ${bindir}/ranlib \ - ${bindir}/readelf \ - ${bindir}/size \ - ${bindir}/strings \ - ${bindir}/strip" - -SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ - file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \ - file://${FILESDIR}/binutils-006_better_file_error.patch;patch=1 \ - file://${FILESDIR}/binutils-009_signed_char_fix.patch;patch=1 \ - file://${FILESDIR}/binutils-012_check_ldrunpath_length.patch;patch=1 \ - file://${FILESDIR}/binutils-100_cflags_for_build.patch;patch=1" - -S = "${WORKDIR}/binutils-${PV}" -B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" - -EXTRA_OECONF = "--with-sysroot=${prefix} \ - --disable-nls \ - --program-prefix=${TARGET_PREFIX}" - -# This is necessary due to a bug in the binutils Makefiles -EXTRA_OEMAKE = "configure-build-libiberty all" - -export AR = "${HOST_PREFIX}ar" -export AS = "${HOST_PREFIX}as" -export LD = "${HOST_PREFIX}ld" -export NM = "${HOST_PREFIX}nm" -export RANLIB = "${HOST_PREFIX}ranlib" -export OBJCOPY = "${HOST_PREFIX}objcopy" -export OBJDUMP = "${HOST_PREFIX}objdump" - -export AR_FOR_TARGET = "${TARGET_PREFIX}ar" -export AS_FOR_TARGET = "${TARGET_PREFIX}as" -export LD_FOR_TARGET = "${TARGET_PREFIX}ld" -export NM_FOR_TARGET = "${TARGET_PREFIX}nm" -export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib" - -export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" -export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" - -export CC_FOR_BUILD = "${BUILD_CC}" - -export CC = "${CCACHE} ${HOST_PREFIX}gcc" - -do_configure () { - oe_runconf -} - -do_install () { - autotools_do_install - - # We don't really need these, so we'll remove them... - rm -rf ${D}/${libdir}/ldscripts - - # Install the libiberty header - 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 -} diff --git a/binutils/binutils_2.15.90.0.3.oe b/binutils/binutils_2.15.90.0.3.oe index e69de29bb2..edd26f3973 100644 --- a/binutils/binutils_2.15.90.0.3.oe +++ b/binutils/binutils_2.15.90.0.3.oe @@ -0,0 +1,90 @@ +inherit autotools + +DESCRIPTION = "A GNU collection of binary utilities" +LICENSE = "GPL" +MAINTAINER = "Gerald Britton " + +PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" + +FILES_${PN} = " \ + ${bindir}/${TARGET_PREFIX}*" + +FILES_${PN}-dev = " \ + ${includedir} \ + ${libdir}/*.a" + +FILES_${PN}-symlinks = " \ + ${bindir}/addr2line \ + ${bindir}/ar \ + ${bindir}/as \ + ${bindir}/ld \ + ${bindir}/nm \ + ${bindir}/objcopy \ + ${bindir}/objdump \ + ${bindir}/ranlib \ + ${bindir}/readelf \ + ${bindir}/size \ + ${bindir}/strings \ + ${bindir}/strip" + +SRC_URI = \ + "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \ + file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \ + file://${FILESDIR}/binutils-006_better_file_error.patch;patch=1 \ + file://${FILESDIR}/binutils-009_signed_char_fix.patch;patch=1 \ + file://${FILESDIR}/binutils-100_cflags_for_build.patch;patch=1 \ + file://${FILESDIR}/binutils-2.15.90.0.3-uclibc-100-conf.patch;patch=1 \ + file://${FILESDIR}/binutils-2.15.90.0.3-uclibc-200-build_modules.patch;patch=1" + +S = "${WORKDIR}/binutils-${PV}" +B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" + +EXTRA_OECONF = "--with-sysroot=${prefix} \ + --disable-nls \ + --program-prefix=${TARGET_PREFIX}" + +# This is necessary due to a bug in the binutils Makefiles +EXTRA_OEMAKE = "configure-build-libiberty all" + +export AR = "${HOST_PREFIX}ar" +export AS = "${HOST_PREFIX}as" +export LD = "${HOST_PREFIX}ld" +export NM = "${HOST_PREFIX}nm" +export RANLIB = "${HOST_PREFIX}ranlib" +export OBJCOPY = "${HOST_PREFIX}objcopy" +export OBJDUMP = "${HOST_PREFIX}objdump" + +export AR_FOR_TARGET = "${TARGET_PREFIX}ar" +export AS_FOR_TARGET = "${TARGET_PREFIX}as" +export LD_FOR_TARGET = "${TARGET_PREFIX}ld" +export NM_FOR_TARGET = "${TARGET_PREFIX}nm" +export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib" + +export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" +export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc" + +export CC_FOR_BUILD = "${BUILD_CC}" + +export CC = "${CCACHE} ${HOST_PREFIX}gcc" + +do_configure () { + oe_runconf +} + +do_install () { + autotools_do_install + + # We don't really need these, so we'll remove them... + rm -rf ${D}/${libdir}/ldscripts + + # Install the libiberty header + 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 +} -- cgit v1.2.3