gcc-package-cross.inc: Only stage gcc-runtime headers for gcc-cross

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-03-30 10:43:15 +01:00
parent 847324b79b
commit 0cf4a98244

View File

@ -17,8 +17,10 @@ do_install () {
done
# gcc-runtime requires some headers, we stash them here
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
cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/
done
if [ "${PN}" == "gcc-cross" ]; 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
cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/
done
fi
}