summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/libgcc-common.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-24 10:19:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-25 17:19:18 +0100
commitee758b69276d3ef8bdd7040ec8725cec2b4bad7c (patch)
tree02e2f1aceb07842100025299c3b7eae76e69ff26 /meta/recipes-devtools/gcc/libgcc-common.inc
parent44c80284bf7d780ac0ec04380b0c20617d56ed06 (diff)
downloadpoky-ee758b69276d3ef8bdd7040ec8725cec2b4bad7c.tar.gz
gcc-cross: Improve handling of unwind.h
Rather than building the whole of libgcc to obtain the unwind.h header file, simply configure it and then install the file. This avoids copying chunks of data around when we don't need to and building the same thing twice. After doing this we need to make sure the target build directory exists in the libgcc case since it will no longer be created automatically. (From OE-Core rev: 459e4dc25462771038459567c22e87d4cd38b117) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/libgcc-common.inc')
-rw-r--r--meta/recipes-devtools/gcc/libgcc-common.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index c4ab885cc3..b30bcfeaeb 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -7,6 +7,7 @@ do_configure () {
7 install -d ${D}${base_libdir} ${D}${libdir} 7 install -d ${D}${base_libdir} ${D}${libdir}
8 hardlinkdir ${STAGING_INCDIR_NATIVE}/${LIBGCCBUILDTREENAME}$target/ ${B} 8 hardlinkdir ${STAGING_INCDIR_NATIVE}/${LIBGCCBUILDTREENAME}$target/ ${B}
9 mkdir -p ${B}/${BPN} 9 mkdir -p ${B}/${BPN}
10 mkdir -p ${B}/$target/${BPN}/
10 cd ${B}/${BPN} 11 cd ${B}/${BPN}
11 chmod a+x ${S}/${BPN}/configure 12 chmod a+x ${S}/${BPN}/configure
12 ${S}/${BPN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} 13 ${S}/${BPN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}