mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user