]> code.ossystems Code Review - openembedded-core.git/commit
gcc-cross: Improve handling of unwind.h
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Apr 2014 09:19:42 +0000 (10:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Apr 2014 16:10:57 +0000 (17:10 +0100)
commit459e4dc25462771038459567c22e87d4cd38b117
tree6b432b39b54cc9c51288ce7f6f47d96bed7cfc47
parent7c9f4a22d5c14d768be872beb9fc798163d6d204
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.8.inc
meta/recipes-devtools/gcc/gcc-cross.inc
meta/recipes-devtools/gcc/libgcc-common.inc