summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/binutils/binutils-cross-sdk.inc20
-rw-r--r--meta/packages/binutils/binutils-cross-sdk_2.16.91.0.7.bb3
-rw-r--r--meta/packages/binutils/binutils-cross-sdk_2.17.50.0.12.bb22
-rw-r--r--meta/packages/binutils/binutils-cross-sdk_2.18.bb22
-rw-r--r--meta/packages/binutils/binutils_csl-arm-2005q3-2.bb12
5 files changed, 27 insertions, 52 deletions
diff --git a/meta/packages/binutils/binutils-cross-sdk.inc b/meta/packages/binutils/binutils-cross-sdk.inc
new file mode 100644
index 000000000..6e59e9e56
--- /dev/null
+++ b/meta/packages/binutils/binutils-cross-sdk.inc
@@ -0,0 +1,20 @@
+inherit sdk
+DEPENDS += "flex-native bison-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
+EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
+ --program-prefix=${TARGET_PREFIX}"
+
+FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
+
+do_stage() {
+ :
+}
+
+do_install () {
+ autotools_do_install
+
+ # 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}
+}
diff --git a/meta/packages/binutils/binutils-cross-sdk_2.16.91.0.7.bb b/meta/packages/binutils/binutils-cross-sdk_2.16.91.0.7.bb
new file mode 100644
index 000000000..4695c61cd
--- /dev/null
+++ b/meta/packages/binutils/binutils-cross-sdk_2.16.91.0.7.bb
@@ -0,0 +1,3 @@
+require binutils_${PV}.bb
+require binutils-cross-sdk.inc
+PR = "r3"
diff --git a/meta/packages/binutils/binutils-cross-sdk_2.17.50.0.12.bb b/meta/packages/binutils/binutils-cross-sdk_2.17.50.0.12.bb
index 81c84229b..4695c61cd 100644
--- a/meta/packages/binutils/binutils-cross-sdk_2.17.50.0.12.bb
+++ b/meta/packages/binutils/binutils-cross-sdk_2.17.50.0.12.bb
@@ -1,23 +1,3 @@
-SECTION = "devel"
require binutils_${PV}.bb
-inherit sdk
-DEPENDS += "flex-native bison-native"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
-EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
- --program-prefix=${TARGET_PREFIX}"
+require binutils-cross-sdk.inc
PR = "r3"
-
-FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
-
-do_stage() {
- :
-}
-
-do_install () {
- autotools_do_install
-
- # 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}
-}
diff --git a/meta/packages/binutils/binutils-cross-sdk_2.18.bb b/meta/packages/binutils/binutils-cross-sdk_2.18.bb
index 81c84229b..4695c61cd 100644
--- a/meta/packages/binutils/binutils-cross-sdk_2.18.bb
+++ b/meta/packages/binutils/binutils-cross-sdk_2.18.bb
@@ -1,23 +1,3 @@
-SECTION = "devel"
require binutils_${PV}.bb
-inherit sdk
-DEPENDS += "flex-native bison-native"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
-EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
- --program-prefix=${TARGET_PREFIX}"
+require binutils-cross-sdk.inc
PR = "r3"
-
-FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
-
-do_stage() {
- :
-}
-
-do_install () {
- autotools_do_install
-
- # 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}
-}
diff --git a/meta/packages/binutils/binutils_csl-arm-2005q3-2.bb b/meta/packages/binutils/binutils_csl-arm-2005q3-2.bb
index c5e71af19..4a5855bc7 100644
--- a/meta/packages/binutils/binutils_csl-arm-2005q3-2.bb
+++ b/meta/packages/binutils/binutils_csl-arm-2005q3-2.bb
@@ -43,16 +43,8 @@ FILES_${PN}-symlinks = " \
${bindir}/strings \
${bindir}/strip"
-SRC_URI = \
- "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2 \
-# file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1;pnum=1\
-# file://binutils-uclibc-100-uclibc-conf.patch;patch=1;pnum=1 \
-# file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1;pnum=1 \
-# file://binutils-uclibc-300-006_better_file_error.patch;patch=1;pnum=1 \
-# file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1;pnum=1 \
-# file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1;pnum=1 \
-# file://binutils-uclibc-702-binutils-skip-comments.patch;patch=1;pnum=1 \
- "
+SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2"
+
do_unpack2() {
cd ${WORKDIR}
pwd