diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-27 14:04:42 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-27 14:04:42 +0000 |
commit | 4d4a37609166adb9a86423f346e7a6bd6649da3a (patch) | |
tree | fd69946b9bb4e3fff75752884241ee652eb44432 /meta/packages/binutils/binutils.inc | |
parent | 0b01f1f9638018ad4727045b0620a9d5a6d0381a (diff) | |
download | poky-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.inc | 17 |
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 @@ | |||
1 | DESCRIPTION = "A GNU collection of binary utilities" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/binutils/" | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "GPL" | ||
5 | |||
1 | inherit autotools gettext | 6 | inherit autotools gettext |
2 | 7 | ||
3 | PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" | 8 | PACKAGES += "${PN}-symlinks" |
4 | 9 | ||
5 | FILES_${PN} = " \ | 10 | FILES_${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 | ||
36 | S = "${WORKDIR}/binutils-${PV}" | ||
37 | B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" | ||
38 | |||
31 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ | 39 | EXTRA_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}" | |||
60 | do_configure () { | 68 | do_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 | ||
65 | do_stage () { | 80 | do_stage () { |