summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-kernel.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-21 16:08:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-25 16:35:53 +0100
commit08e15c25992dee692f5e2d2966690d42f04afaf9 (patch)
tree9af86288290add5d9184dde01c77785a39c700eb /meta/recipes-devtools/gcc/gcc-cross-kernel.inc
parent92e20d13c819c0c1933706b22ffc3478ab76e7d0 (diff)
downloadpoky-08e15c25992dee692f5e2d2966690d42f04afaf9.tar.gz
gcc: Remove csl gcc recipes
sourcery toolchain is available as external pluggable toolchain if needed. (From OE-Core rev: 7d0c7a759c29669b2b5828fd75837926506acd87) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-kernel.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-kernel.inc19
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-kernel.inc b/meta/recipes-devtools/gcc/gcc-cross-kernel.inc
deleted file mode 100644
index be772ba79a..0000000000
--- a/meta/recipes-devtools/gcc/gcc-cross-kernel.inc
+++ /dev/null
@@ -1,19 +0,0 @@
1# Cut-down gcc for kernel builds
2# Only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
3
4PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
5
6do_install () {
7 cd gcc
8 oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc
9 install -m 0755 xgcc ${D}${bindir}/${TARGET_PREFIX}gcc-${PV}
10
11 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
12 # found. These need to be relative paths so they work in different locations.
13 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
14 install -d $dest
15 for t in ar as ld nm objcopy objdump ranlib strip cpp; do
16 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
17 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t
18 done
19}