summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-30 14:14:34 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-30 14:14:34 +0100
commit9c7746453886b5dbf92cb3f289c455bec8ba1932 (patch)
tree7db0a50f3f7f00a27c8634f0cd5848e6d2ff0cc2 /meta/packages/gcc
parentc75c0d68c2415591945ed8087ce052ae313dafdc (diff)
downloadpoky-9c7746453886b5dbf92cb3f289c455bec8ba1932.tar.gz
gcc-runtime: Handle libgcc headers correctly and set c++ include patch for packages correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r--meta/packages/gcc/gcc-package-cross.inc4
-rw-r--r--meta/packages/gcc/gcc-package-runtime.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/gcc/gcc-package-cross.inc b/meta/packages/gcc/gcc-package-cross.inc
index 588427ef85..c3ea5f93c4 100644
--- a/meta/packages/gcc/gcc-package-cross.inc
+++ b/meta/packages/gcc/gcc-package-cross.inc
@@ -17,9 +17,9 @@ do_install () {
17 done 17 done
18 18
19 # gcc-runtime requires some headers, we stash them here 19 # gcc-runtime requires some headers, we stash them here
20 if [ "${PN}" == "gcc-cross" ]; then 20 if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then
21 install -d ${D}${includedir}/gcc-build-internal 21 install -d ${D}${includedir}/gcc-build-internal
22 for f in auto-host.h gcov-iov.h gthr-default.h libgcc.mvars options.h tconfig.h tm.h; do 22 for f in *.h *.c libgcc.mvars; do
23 cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/ 23 cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/
24 done 24 done
25 fi 25 fi
diff --git a/meta/packages/gcc/gcc-package-runtime.inc b/meta/packages/gcc/gcc-package-runtime.inc
index 646e58c589..055753b8ea 100644
--- a/meta/packages/gcc/gcc-package-runtime.inc
+++ b/meta/packages/gcc/gcc-package-runtime.inc
@@ -28,7 +28,7 @@ FILES_libg2c-dev = "\
28 28
29FILES_libstdc++ = "${libdir}/libstdc++.so.*" 29FILES_libstdc++ = "${libdir}/libstdc++.so.*"
30FILES_libstdc++-dev = "\ 30FILES_libstdc++-dev = "\
31 ${includedir}/c++/${BINV} \ 31 ${includedir}/c++/ \
32 ${libdir}/libstdc++.so \ 32 ${libdir}/libstdc++.so \
33 ${libdir}/libstdc++.la \ 33 ${libdir}/libstdc++.la \
34 ${libdir}/libstdc++.a \ 34 ${libdir}/libstdc++.a \