summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-24 13:43:10 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-24 13:43:10 +0000
commit913adea0a2905a7c589da4357f929b15c1e41734 (patch)
tree9d1bc311deb84ba4b7d0c51f7cdfca8b556549e0 /meta/packages
parent9519cc59d2151975e9aeed99979655badc140728 (diff)
downloadpoky-913adea0a2905a7c589da4357f929b15c1e41734.tar.gz
binutils: Factor common sdk code into binutils-cross-sdk.inc
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3580 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-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 0000000000..6e59e9e569
--- /dev/null
+++ b/meta/packages/binutils/binutils-cross-sdk.inc
@@ -0,0 +1,20 @@
1inherit sdk
2DEPENDS += "flex-native bison-native"
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
4EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
5 --program-prefix=${TARGET_PREFIX}"
6
7FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
8
9do_stage() {
10 :
11}
12
13do_install () {
14 autotools_do_install
15
16 # Install the libiberty header
17 install -d ${D}${includedir}
18 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
19 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
20}
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 0000000000..4695c61cd5
--- /dev/null
+++ b/meta/packages/binutils/binutils-cross-sdk_2.16.91.0.7.bb
@@ -0,0 +1,3 @@
1require binutils_${PV}.bb
2require binutils-cross-sdk.inc
3PR = "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 81c84229b0..4695c61cd5 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 @@
1SECTION = "devel"
2require binutils_${PV}.bb 1require binutils_${PV}.bb
3inherit sdk 2require binutils-cross-sdk.inc
4DEPENDS += "flex-native bison-native"
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
6EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
7 --program-prefix=${TARGET_PREFIX}"
8PR = "r3" 3PR = "r3"
9
10FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
11
12do_stage() {
13 :
14}
15
16do_install () {
17 autotools_do_install
18
19 # Install the libiberty header
20 install -d ${D}${includedir}
21 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
22 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
23}
diff --git a/meta/packages/binutils/binutils-cross-sdk_2.18.bb b/meta/packages/binutils/binutils-cross-sdk_2.18.bb
index 81c84229b0..4695c61cd5 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 @@
1SECTION = "devel"
2require binutils_${PV}.bb 1require binutils_${PV}.bb
3inherit sdk 2require binutils-cross-sdk.inc
4DEPENDS += "flex-native bison-native"
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
6EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
7 --program-prefix=${TARGET_PREFIX}"
8PR = "r3" 3PR = "r3"
9
10FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
11
12do_stage() {
13 :
14}
15
16do_install () {
17 autotools_do_install
18
19 # Install the libiberty header
20 install -d ${D}${includedir}
21 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
22 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
23}
diff --git a/meta/packages/binutils/binutils_csl-arm-2005q3-2.bb b/meta/packages/binutils/binutils_csl-arm-2005q3-2.bb
index c5e71af196..4a5855bc77 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 = " \
43 ${bindir}/strings \ 43 ${bindir}/strings \
44 ${bindir}/strip" 44 ${bindir}/strip"
45 45
46SRC_URI = \ 46SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2"
47 "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2 \ 47
48# file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1;pnum=1\
49# file://binutils-uclibc-100-uclibc-conf.patch;patch=1;pnum=1 \
50# file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1;pnum=1 \
51# file://binutils-uclibc-300-006_better_file_error.patch;patch=1;pnum=1 \
52# file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1;pnum=1 \
53# file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1;pnum=1 \
54# file://binutils-uclibc-702-binutils-skip-comments.patch;patch=1;pnum=1 \
55 "
56do_unpack2() { 48do_unpack2() {
57 cd ${WORKDIR} 49 cd ${WORKDIR}
58 pwd 50 pwd