diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-24 10:19:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-25 17:19:18 +0100 |
commit | ee758b69276d3ef8bdd7040ec8725cec2b4bad7c (patch) | |
tree | 02e2f1aceb07842100025299c3b7eae76e69ff26 /meta/recipes-devtools/gcc/libgcc-common.inc | |
parent | 44c80284bf7d780ac0ec04380b0c20617d56ed06 (diff) | |
download | poky-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.inc | 1 |
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} |