gcc-runtime: Handle libgcc headers correctly and set c++ include patch for packages correctly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-03-30 14:14:34 +01:00
parent c75c0d68c2
commit 9c77464538
2 changed files with 3 additions and 3 deletions

View File

@@ -17,9 +17,9 @@ do_install () {
done
# gcc-runtime requires some headers, we stash them here
if [ "${PN}" == "gcc-cross" ]; then
if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then
install -d ${D}${includedir}/gcc-build-internal
for f in auto-host.h gcov-iov.h gthr-default.h libgcc.mvars options.h tconfig.h tm.h; do
for f in *.h *.c libgcc.mvars; do
cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/
done
fi

View File

@@ -28,7 +28,7 @@ FILES_libg2c-dev = "\
FILES_libstdc++ = "${libdir}/libstdc++.so.*"
FILES_libstdc++-dev = "\
${includedir}/c++/${BINV} \
${includedir}/c++/ \
${libdir}/libstdc++.so \
${libdir}/libstdc++.la \
${libdir}/libstdc++.a \