summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-27 14:39:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-27 15:56:07 +0000
commite9208b84d90cc21fa1318af1d87aef1ea04a8cb0 (patch)
tree1939cae47a4410493bbe4ea90f98e3ea24bb113a /recipes-devtools/gcc
parent9a86d9525e6d792a125d29d916cbebaa7dc99629 (diff)
downloadmeta-mingw-e9208b84d90cc21fa1318af1d87aef1ea04a8cb0.tar.gz
gcc/nativesdk-mingw-w84-headers: Move symlinking to headers recipe
The symlinking is really an artefact of the way the headers are provided. Move all the code into one place. Also have the initial compiler depend on the headers else the build can fail. High parallelism prevented the issue from being seen in most cases. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-devtools/gcc')
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bbappend9
1 files changed, 1 insertions, 8 deletions
diff --git a/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bbappend b/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bbappend
index 7a7ca37..1c09342 100644
--- a/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bbappend
+++ b/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bbappend
@@ -1,8 +1 @@
1 DEPENDS_append_mingw32 = " nativesdk-mingw-w64-headers"
2do_install_append_mingw32 () {
3 ln -s ${STAGING_DIR_TARGET}/${target_exec_prefix}/ ${D}/${exec_prefix}/${TARGET_SYS}
4}
5
6sysroot_stage_all_append_mingw32 () {
7 sysroot_stage_dir ${D}${exec_prefix}/${TARGET_SYS} ${SYSROOT_DESTDIR}${exec_prefix}/${TARGET_SYS}
8} \ No newline at end of file