summaryrefslogtreecommitdiffstats
path: root/meta/packages/binutils/binutils.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-04-27 14:04:42 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-04-27 14:04:42 +0000
commit4d4a37609166adb9a86423f346e7a6bd6649da3a (patch)
treefd69946b9bb4e3fff75752884241ee652eb44432 /meta/packages/binutils/binutils.inc
parent0b01f1f9638018ad4727045b0620a9d5a6d0381a (diff)
downloadpoky-4d4a37609166adb9a86423f346e7a6bd6649da3a.tar.gz
binutils 2.16, 2.17.50.0.5: make them provide 'ar' and 'strings' via update-alternatives
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1571 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/binutils/binutils.inc')
-rw-r--r--meta/packages/binutils/binutils.inc17
1 files changed, 16 insertions, 1 deletions
diff --git a/meta/packages/binutils/binutils.inc b/meta/packages/binutils/binutils.inc
index 680e579a06..e0440b370a 100644
--- a/meta/packages/binutils/binutils.inc
+++ b/meta/packages/binutils/binutils.inc
@@ -1,6 +1,11 @@
1DESCRIPTION = "A GNU collection of binary utilities"
2HOMEPAGE = "http://www.gnu.org/software/binutils/"
3SECTION = "devel"
4LICENSE = "GPL"
5
1inherit autotools gettext 6inherit autotools gettext
2 7
3PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" 8PACKAGES += "${PN}-symlinks"
4 9
5FILES_${PN} = " \ 10FILES_${PN} = " \
6 ${bindir}/${TARGET_PREFIX}* \ 11 ${bindir}/${TARGET_PREFIX}* \
@@ -28,6 +33,9 @@ FILES_${PN}-symlinks = " \
28 ${bindir}/size \ 33 ${bindir}/size \
29 ${bindir}/strip" 34 ${bindir}/strip"
30 35
36S = "${WORKDIR}/binutils-${PV}"
37B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
38
31EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ 39EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
32 --enable-shared" 40 --enable-shared"
33 41
@@ -60,6 +68,13 @@ export CC = "${CCACHE} ${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
60do_configure () { 68do_configure () {
61 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" 69 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
62 oe_runconf 70 oe_runconf
71#
72# must prime config.cache to ensure the build of libiberty
73#
74 mkdir -p ${B}/build-${BUILD_SYS}
75 for i in ${CONFIG_SITE}; do
76 cat $i >> ${B}/build-${BUILD_SYS}/config.cache
77 done
63} 78}
64 79
65do_stage () { 80do_stage () {