summaryrefslogtreecommitdiffstats
path: root/meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb')
-rw-r--r--meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb60
1 files changed, 60 insertions, 0 deletions
diff --git a/meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb b/meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb
new file mode 100644
index 0000000000..20e1690196
--- /dev/null
+++ b/meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb
@@ -0,0 +1,60 @@
1INHIBIT_DEFAULT_DEPS = "1"
2
3PROVIDES = "\
4 linux-libc-headers \
5 virtual/arm-none-linux-gnueabi-gcc \
6 virtual/arm-none-linux-gnueabi-g++ \
7 virtual/arm-none-linux-gnueabi-gcc-initial \
8 virtual/arm-none-linux-gnueabi-gcc-intermediate \
9 virtual/arm-none-linux-gnueabi-binutils \
10 virtual/arm-none-linux-gnueabi-libc-for-gcc \
11 virtual/libc \
12 virtual/libintl \
13 virtual/libiconv \
14 glibc-thread-db \
15 virtual/linux-libc-headers "
16RPROVIDES = "glibc-utils libsegfault glibc-thread-db"
17PACKAGES_DYNAMIC = "glibc-gconv-*"
18PR = "r1"
19
20#SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-${PV}-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 \
21
22SRC_URI = "file://SUPPORTED"
23
24do_install() {
25 echo "EXTERNAL_TOOLCHAIN is ${EXTERNAL_TOOLCHAIN}"
26 install -d ${D}${sysconfdir} ${D}${bindir} ${D}${sbindir} ${D}${base_bindir} ${D}${libdir}
27 install -d ${D}${base_libdir} ${D}${base_sbindir} ${D}${datadir}
28
29 cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/lib/* ${D}${base_libdir}
30 cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/etc/* ${D}${sysconfdir}
31 cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/sbin/* ${D}${base_sbindir}
32 cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/usr/* ${D}/usr
33
34 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so
35 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so
36}
37
38GLIBC_INTERNAL_USE_BINARY_LOCALE ?= "compile"
39
40inherit libc-package
41
42PACKAGES += "libgcc libgcc-dev libstdc++ libstdc++-dev linux-libc-headers"
43FILES_libgcc = "${base_libdir}/libgcc_s.so.1"
44FILES_libgcc-dev = "${base_libdir}/libgcc_s.so"
45FILES_libstdc++ = "${libdir}/libstdc++.so.*"
46FILES_libstdc++-dev = "${includedir}/c++/${PV} \
47 ${libdir}/libstdc++.so \
48 ${libdir}/libstdc++.la \
49 ${libdir}/libstdc++.a \
50 ${libdir}/libsupc++.la \
51 ${libdir}/libsupc++.a"
52FILES_linux-libc-headers = "${includedir}/asm* \
53 ${includedir}/linux \
54 ${includedir}/mtd \
55 ${includedir}/rdma \
56 ${includedir}/scsi \
57 ${includedir}/sound \
58 ${includedir}/video \
59"
60