diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-30 10:43:15 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-30 10:43:15 +0100 |
commit | 0cf4a982444871ae28683986546f3590b752c651 (patch) | |
tree | 99e1a0a6158e839f31690b75310b778e07c190bc | |
parent | 847324b79b90d7ec0734fd40dfd7ff8d9631c505 (diff) | |
download | poky-0cf4a982444871ae28683986546f3590b752c651.tar.gz |
gcc-package-cross.inc: Only stage gcc-runtime headers for gcc-cross
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/gcc/gcc-package-cross.inc | 10 |
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 () { | |||
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 | install -d ${D}${includedir}/gcc-build-internal | 20 | if [ "${PN}" == "gcc-cross" ]; then |
21 | for f in auto-host.h gcov-iov.h gthr-default.h libgcc.mvars options.h tconfig.h tm.h; do | 21 | install -d ${D}${includedir}/gcc-build-internal |
22 | cp ${B}/gcc/$f ${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 |
23 | done | 23 | cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/ |
24 | done | ||
25 | fi | ||
24 | } | 26 | } |