summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/gcc/gcc-package-cross.inc10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/packages/gcc/gcc-package-cross.inc b/meta/packages/gcc/gcc-package-cross.inc
index 6c56504828..588427ef85 100644
--- a/meta/packages/gcc/gcc-package-cross.inc
+++ b/meta/packages/gcc/gcc-package-cross.inc
@@ -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
}