summaryrefslogtreecommitdiff
path: root/packages/binutils/binutils.inc
diff options
context:
space:
mode:
authorAndrew Wilcox <andy@protium.com>2006-12-13 22:30:44 +0000
committerAndrew Wilcox <andy@protium.com>2006-12-13 22:30:44 +0000
commitd4f9315bfae76bf9ce0536363efc674312e2c5c0 (patch)
treeb5e01fa1947f3c10a7972e654f9a63030adcc794 /packages/binutils/binutils.inc
parentacd63896986e7355cb6d1be79d2607436844c95a (diff)
binutils: be sure and prime the config.cache for libiberty
Diffstat (limited to 'packages/binutils/binutils.inc')
-rw-r--r--packages/binutils/binutils.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/binutils/binutils.inc b/packages/binutils/binutils.inc
index 680e579a06..02ad406170 100644
--- a/packages/binutils/binutils.inc
+++ b/packages/binutils/binutils.inc
@@ -60,6 +60,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 () {