summaryrefslogtreecommitdiff
path: root/packages/binutils
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-12-13 22:45:05 +0000
committerKoen Kooi <koen@openembedded.org>2006-12-13 22:45:05 +0000
commit4ee624d7f8c71de2559d8417bc5bd327ac62d8f6 (patch)
tree1ed321357cd06183f2751c1ed689c270b2d8924f /packages/binutils
parent1e210c12199d05f2620d58e2f4e9128b04ed8967 (diff)
binutils 2.17.50.0.5: add site prime fix.
*mumbles something about unifying recipes*
Diffstat (limited to 'packages/binutils')
-rw-r--r--packages/binutils/binutils_2.17.50.0.5.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/binutils/binutils_2.17.50.0.5.bb b/packages/binutils/binutils_2.17.50.0.5.bb
index 4e566fb756..87a333b035 100644
--- a/packages/binutils/binutils_2.17.50.0.5.bb
+++ b/packages/binutils/binutils_2.17.50.0.5.bb
@@ -80,6 +80,14 @@ 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 () {