diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-24 13:43:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-24 13:43:10 +0000 |
commit | 913adea0a2905a7c589da4357f929b15c1e41734 (patch) | |
tree | 9d1bc311deb84ba4b7d0c51f7cdfca8b556549e0 /meta/packages/binutils | |
parent | 9519cc59d2151975e9aeed99979655badc140728 (diff) | |
download | poky-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/binutils')
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 @@ | |||
1 | inherit sdk | ||
2 | DEPENDS += "flex-native bison-native" | ||
3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | ||
4 | EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \ | ||
5 | --program-prefix=${TARGET_PREFIX}" | ||
6 | |||
7 | FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug" | ||
8 | |||
9 | do_stage() { | ||
10 | : | ||
11 | } | ||
12 | |||
13 | do_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 @@ | |||
1 | require binutils_${PV}.bb | ||
2 | require binutils-cross-sdk.inc | ||
3 | 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 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 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_${PV}.bb | 1 | require binutils_${PV}.bb |
3 | inherit sdk | 2 | require binutils-cross-sdk.inc |
4 | DEPENDS += "flex-native bison-native" | ||
5 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | ||
6 | EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \ | ||
7 | --program-prefix=${TARGET_PREFIX}" | ||
8 | PR = "r3" | 3 | PR = "r3" |
9 | |||
10 | FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug" | ||
11 | |||
12 | do_stage() { | ||
13 | : | ||
14 | } | ||
15 | |||
16 | do_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 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_${PV}.bb | 1 | require binutils_${PV}.bb |
3 | inherit sdk | 2 | require binutils-cross-sdk.inc |
4 | DEPENDS += "flex-native bison-native" | ||
5 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | ||
6 | EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \ | ||
7 | --program-prefix=${TARGET_PREFIX}" | ||
8 | PR = "r3" | 3 | PR = "r3" |
9 | |||
10 | FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug" | ||
11 | |||
12 | do_stage() { | ||
13 | : | ||
14 | } | ||
15 | |||
16 | do_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 | ||
46 | SRC_URI = \ | 46 | SRC_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 | " | ||
56 | do_unpack2() { | 48 | do_unpack2() { |
57 | cd ${WORKDIR} | 49 | cd ${WORKDIR} |
58 | pwd | 50 | pwd |