aboutsummaryrefslogtreecommitdiffstats
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)
downloadopenembedded-core-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 @@
+DESCRIPTION = "A GNU collection of binary utilities"
+HOMEPAGE = "http://www.gnu.org/software/binutils/"
+SECTION = "devel"
+LICENSE = "GPL"
+
inherit autotools gettext
-PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
+PACKAGES += "${PN}-symlinks"
FILES_${PN} = " \
${bindir}/${TARGET_PREFIX}* \
@@ -28,6 +33,9 @@ FILES_${PN}-symlinks = " \
${bindir}/size \
${bindir}/strip"
+S = "${WORKDIR}/binutils-${PV}"
+B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
+
EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
--enable-shared"
@@ -60,6 +68,13 @@ export CC = "${CCACHE} ${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
do_configure () {
(cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
oe_runconf
+#
+# must prime config.cache to ensure the build of libiberty
+#
+ mkdir -p ${B}/build-${BUILD_SYS}
+ for i in ${CONFIG_SITE}; do
+ cat $i >> ${B}/build-${BUILD_SYS}/config.cache
+ done
}
do_stage () {