diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-29 22:27:13 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-29 22:27:13 +0100 |
| commit | cdaf6c804b703d58839e449041b12f698cb5ebbe (patch) | |
| tree | b2330e4295ffa036249dd058b42f5b9cf1ced6bb /meta/packages/gcc/gcc-package-sdk.inc | |
| parent | 7a7c2341c7be47e054bb1b7788ea1b5dcebbc732 (diff) | |
| download | poky-cdaf6c804b703d58839e449041b12f698cb5ebbe.tar.gz | |
gcc-runtime: Add initial recipe
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc/gcc-package-sdk.inc')
| -rw-r--r-- | meta/packages/gcc/gcc-package-sdk.inc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/meta/packages/gcc/gcc-package-sdk.inc b/meta/packages/gcc/gcc-package-sdk.inc index 0e66772d10..cdce1da1c7 100644 --- a/meta/packages/gcc/gcc-package-sdk.inc +++ b/meta/packages/gcc/gcc-package-sdk.inc | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | INHIBIT_PACKAGE_STRIP ?= "" | ||
| 2 | OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" | ||
| 3 | INHIBIT_PACKAGE_STRIP = "1" | 1 | INHIBIT_PACKAGE_STRIP = "1" |
| 4 | 2 | ||
| 5 | # Having anything auto depending on gcc-cross-sdk is a really bad idea... | 3 | # Having anything auto depending on gcc-cross-sdk is a really bad idea... |
| @@ -30,7 +28,7 @@ FILES_${PN}-doc = "\ | |||
| 30 | " | 28 | " |
| 31 | 29 | ||
| 32 | do_install () { | 30 | do_install () { |
| 33 | oe_runmake 'DESTDIR=${D}' install | 31 | oe_runmake 'DESTDIR=${D}' install-host |
| 34 | 32 | ||
| 35 | # Cleanup some of the ${libdir}{,exec}/gcc stuff ... | 33 | # Cleanup some of the ${libdir}{,exec}/gcc stuff ... |
| 36 | rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools | 34 | rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools |
| @@ -52,13 +50,5 @@ do_install () { | |||
| 52 | ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" | 50 | ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" |
| 53 | done | 51 | done |
| 54 | ln -sf "${bindir}/${TARGET_PREFIX}gcc" "${D}${prefix}/${TARGET_SYS}/bin/cc" | 52 | ln -sf "${bindir}/${TARGET_PREFIX}gcc" "${D}${prefix}/${TARGET_SYS}/bin/cc" |
| 55 | |||
| 56 | # Manually run the target stripper since we won't get it run by | ||
| 57 | # the packaging. | ||
| 58 | if [ "x${OLD_INHIBIT_PACKAGE_STRIP}" != "x1" ]; then | ||
| 59 | ${TARGET_PREFIX}strip ${D}${prefix}/${TARGET_SYS}/lib/libstdc++.so.* | ||
| 60 | ${TARGET_PREFIX}strip ${D}${prefix}/${TARGET_SYS}/lib/libg2c.so.* || true | ||
| 61 | ${TARGET_PREFIX}strip ${D}${prefix}/${TARGET_SYS}/lib/libgcc_s.so.* | ||
| 62 | fi | ||
| 63 | } | 53 | } |
| 64 | 54 | ||
