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 | |
parent | 9519cc59d2151975e9aeed99979655badc140728 (diff) | |
download | openembedded-core-913adea0a2905a7c589da4357f929b15c1e41734.tar.gz openembedded-core-913adea0a2905a7c589da4357f929b15c1e41734.tar.bz2 openembedded-core-913adea0a2905a7c589da4357f929b15c1e41734.zip |
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')
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 @@ +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 0000000000..4695c61cd5 --- /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 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 @@ -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 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 @@ -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 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 = " \ ${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 |