diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-06-07 23:08:02 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-06-07 23:09:00 +0100 |
commit | 2f7b3e3f31913cdbb3b359d856b10fe52a7be26b (patch) | |
tree | 7a94330e88360f470e75e202e478a15cb8bdd476 /meta/packages/gcc/gcc-package-cross.inc | |
parent | 6118da2a7f91979d14fda968805a8c69f0de42e4 (diff) | |
download | poky-2f7b3e3f31913cdbb3b359d856b10fe52a7be26b.tar.gz |
gcc-runtime: Make sure multiple target builds work correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc/gcc-package-cross.inc')
-rw-r--r-- | meta/packages/gcc/gcc-package-cross.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/gcc/gcc-package-cross.inc b/meta/packages/gcc/gcc-package-cross.inc index 86f973e885..e0b622b8c1 100644 --- a/meta/packages/gcc/gcc-package-cross.inc +++ b/meta/packages/gcc/gcc-package-cross.inc | |||
@@ -20,14 +20,14 @@ do_install () { | |||
20 | if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then | 20 | if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then |
21 | install -d ${D}${includedir}/gcc-build-internal | 21 | install -d ${D}${includedir}/gcc-build-internal |
22 | for f in *.h *.c libgcc.mvars; do | 22 | for f in *.h *.c libgcc.mvars; do |
23 | cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/ | 23 | cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal-${TARGET_SYS}/ |
24 | done | 24 | done |
25 | # Special for PowerPC (and possibly others) | 25 | # Special for PowerPC (and possibly others) |
26 | if [ -f ${B}/gcc/tramp.S ]; then | 26 | if [ -f ${B}/gcc/tramp.S ]; then |
27 | cp ${B}/gcc/*.S ${D}${includedir}/gcc-build-internal/ | 27 | cp ${B}/gcc/*.S ${D}${includedir}/gcc-build-internal-${TARGET_SYS}/ |
28 | fi | 28 | fi |
29 | if [ -f libgcc.mvars]; then | 29 | if [ -f libgcc.mvars]; then |
30 | cp ${B}/gcc/libgcc.mvars ${D}${includedir}/gcc-build-internal/ | 30 | cp ${B}/gcc/libgcc.mvars ${D}${includedir}/gcc-build-internal-${TARGET_SYS}/ |
31 | fi | 31 | fi |
32 | fi | 32 | fi |
33 | } | 33 | } |