diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-12-12 16:07:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-12 23:10:51 +0000 |
commit | 07ce0296bbc4c09469ae13bf9f91d19496b60cc6 (patch) | |
tree | 83e5857ef30e957a486c8aee6c58f58d63b6eb42 /meta | |
parent | b1b0c315153a717d3b951f0264e2e52f33dedef1 (diff) | |
download | poky-07ce0296bbc4c09469ae13bf9f91d19496b60cc6.tar.gz |
external-sourcery-toolchain: remove
As per discussion on the mailing list [1], remove this largely
unmaintained external toolchain support in favour of the maintained
version in meta-sourcery [2].
Also correct the example and documentation.conf entries for TCMODE to
match up with this change.
[1] http://lists.openembedded.org/pipermail/openembedded-core/2013-December/087133.html
[2] https://github.com/MentorEmbedded/meta-sourcery/
(From OE-Core rev: 7603b15415301679bccbcb89af688c211704a43a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/csl-versions.inc | 107 | ||||
-rw-r--r-- | meta/conf/distro/include/tcmode-external-csl.inc | 2 | ||||
-rw-r--r-- | meta/conf/distro/include/tcmode-external-sourcery.inc | 128 | ||||
-rw-r--r-- | meta/conf/documentation.conf | 2 | ||||
-rw-r--r-- | meta/recipes-core/meta/external-sourcery-toolchain.bb | 149 | ||||
-rw-r--r-- | meta/recipes-core/meta/external-sourcery-toolchain/SUPPORTED | 257 |
6 files changed, 1 insertions, 644 deletions
diff --git a/meta/conf/distro/include/csl-versions.inc b/meta/conf/distro/include/csl-versions.inc deleted file mode 100644 index 3938bf7ed2..0000000000 --- a/meta/conf/distro/include/csl-versions.inc +++ /dev/null | |||
@@ -1,107 +0,0 @@ | |||
1 | def csl_run(d, cmd, *args): | ||
2 | import bb.process | ||
3 | import subprocess | ||
4 | |||
5 | topdir = d.getVar('TOPDIR', True) | ||
6 | toolchain_path = d.getVar('EXTERNAL_TOOLCHAIN', True) | ||
7 | if not toolchain_path: | ||
8 | return 'UNKNOWN', 'UNKNOWN' | ||
9 | |||
10 | target_prefix = d.getVar('TARGET_PREFIX', True) | ||
11 | path = os.path.join(toolchain_path, 'bin', target_prefix + cmd) | ||
12 | args = [path] + list(args) | ||
13 | |||
14 | return bb.process.run(args, cwd=topdir, stderr=subprocess.PIPE) | ||
15 | |||
16 | def csl_get_version(d): | ||
17 | try: | ||
18 | stdout, stderr = csl_run(d, 'gcc', '-v') | ||
19 | except bb.process.CmdError as exc: | ||
20 | bb.error('Failed to obtain CodeSourcery toolchain version: %s' % exc) | ||
21 | bb.error('Make sure that MACHINE is set correctly in your local.conf and the toolchain supports %s.' % d.getVar("TARGET_ARCH", True)) | ||
22 | return 'UNKNOWN' | ||
23 | else: | ||
24 | last_line = stderr.splitlines()[-1] | ||
25 | return last_line | ||
26 | |||
27 | def csl_get_main_version(d): | ||
28 | version = csl_get_version(d) | ||
29 | if version != 'UNKNOWN': | ||
30 | return version.split()[-1].rstrip(')') | ||
31 | else: | ||
32 | return version | ||
33 | |||
34 | def csl_get_gcc_version(d): | ||
35 | version = csl_get_version(d) | ||
36 | if version != 'UNKNOWN': | ||
37 | return version.split()[2] | ||
38 | else: | ||
39 | return version | ||
40 | |||
41 | def csl_get_libc_version(d): | ||
42 | syspath = d.expand('${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}') | ||
43 | if not syspath: | ||
44 | return 'UNKNOWN' | ||
45 | |||
46 | libpath = syspath + '/libc/lib/' | ||
47 | if not os.path.exists(libpath): | ||
48 | libpath = syspath + '/libc/sgxx-glibc/lib/' | ||
49 | |||
50 | if os.path.exists(libpath): | ||
51 | for file in os.listdir(libpath): | ||
52 | if file.find('libc-') == 0: | ||
53 | return file[5:-3] | ||
54 | return 'UNKNOWN' | ||
55 | |||
56 | def csl_get_kernel_version(d): | ||
57 | syspath = d.expand('${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}') | ||
58 | if not syspath: | ||
59 | return 'UNKNOWN' | ||
60 | |||
61 | vf = syspath + '/libc/usr/include/linux/version.h' | ||
62 | if not os.path.exists(vf): | ||
63 | vf = syspath + '/libc/sgxx-glibc/usr/include/linux/version.h' | ||
64 | |||
65 | try: | ||
66 | f = open(vf, 'r') | ||
67 | except (OSError, IOError): | ||
68 | return 'UNKNOWN' | ||
69 | |||
70 | l = f.readlines(); | ||
71 | f.close(); | ||
72 | for s in l: | ||
73 | if s.find('LINUX_VERSION_CODE') > 0: | ||
74 | ver = int(s.split()[2]) | ||
75 | maj = ver / 65536 | ||
76 | ver = ver % 65536 | ||
77 | min = ver / 256 | ||
78 | ver = ver % 256 | ||
79 | return str(maj)+'.'+str(min)+'.'+str(ver) | ||
80 | return 'UNKNOWN' | ||
81 | |||
82 | def csl_get_gdb_version(d): | ||
83 | try: | ||
84 | stdout, stderr = csl_run(d, 'gdb', '-v') | ||
85 | except bb.process.CmdError: | ||
86 | return 'UNKNOWN' | ||
87 | else: | ||
88 | first_line = stdout.splitlines()[0] | ||
89 | return first_line.split()[-1] | ||
90 | |||
91 | python csl_version_handler () { | ||
92 | d = e.data | ||
93 | ld = d.createCopy() | ||
94 | ld.finalize() | ||
95 | |||
96 | d.setVar('CSL_VER_MAIN', csl_get_main_version(ld)) | ||
97 | d.setVar('CSL_VER_GCC', csl_get_gcc_version(ld)) | ||
98 | d.setVar('CSL_VER_LIBC', csl_get_libc_version(ld)) | ||
99 | d.setVar('CSL_VER_KERNEL', csl_get_kernel_version(ld)) | ||
100 | d.setVar('CSL_VER_GDB', csl_get_gdb_version(ld)) | ||
101 | } | ||
102 | addhandler csl_version_handler | ||
103 | csl_version_handler[eventmask] = "bb.event.ConfigParsed" | ||
104 | |||
105 | # Ensure that any variable which includes the --sysroot (CC, CXX, etc) also | ||
106 | # depends on the toolchain version | ||
107 | TOOLCHAIN_OPTIONS[vardeps] += "CSL_VER_MAIN CSL_VER_GCC" | ||
diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc deleted file mode 100644 index 9e530ab1e7..0000000000 --- a/meta/conf/distro/include/tcmode-external-csl.inc +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | TCMODE = "external-sourcery" | ||
2 | require conf/distro/include/tcmode-${TCMODE}.inc | ||
diff --git a/meta/conf/distro/include/tcmode-external-sourcery.inc b/meta/conf/distro/include/tcmode-external-sourcery.inc deleted file mode 100644 index 5590f7a1e9..0000000000 --- a/meta/conf/distro/include/tcmode-external-sourcery.inc +++ /dev/null | |||
@@ -1,128 +0,0 @@ | |||
1 | # | ||
2 | # Configuration to use external Sourcery G++ toolchain | ||
3 | # | ||
4 | |||
5 | EXTERNAL_TOOLCHAIN ?= "/usr/local/csl/${TARGET_ARCH}" | ||
6 | |||
7 | TOOLCHAIN_PATH_ADD = "${EXTERNAL_TOOLCHAIN}/bin:" | ||
8 | PATH =. "${TOOLCHAIN_PATH_ADD}" | ||
9 | |||
10 | CSL_TARGET_SYS_powerpc ?= "powerpc-linux-gnu" | ||
11 | CSL_TARGET_SYS_powerpc64 ?= "powerpc-linux-gnu" | ||
12 | CSL_TARGET_SYS_arm ?= "arm-none-linux-gnueabi" | ||
13 | CSL_TARGET_SYS_mips ?= "mips-linux-gnu" | ||
14 | CSL_TARGET_SYS_mipsel ?= "mips-linux-gnu" | ||
15 | CSL_TARGET_SYS_mips64 ?= "mips-linux-gnu" | ||
16 | CSL_TARGET_SYS_i686 ?= "i686-pc-linux-gnu" | ||
17 | CSL_TARGET_SYS_i586 ?= "i686-pc-linux-gnu" | ||
18 | CSL_TARGET_SYS = "${TARGET_SYS}" | ||
19 | |||
20 | TARGET_PREFIX = "${CSL_TARGET_SYS}-" | ||
21 | |||
22 | PREFERRED_PROVIDER_linux-libc-headers = "external-sourcery-toolchain" | ||
23 | PREFERRED_PROVIDER_linux-libc-headers-dev = "external-sourcery-toolchain" | ||
24 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "external-sourcery-toolchain" | ||
25 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "external-sourcery-toolchain" | ||
26 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "external-sourcery-toolchain" | ||
27 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "external-sourcery-toolchain" | ||
28 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "external-sourcery-toolchain" | ||
29 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "external-sourcery-toolchain" | ||
30 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "external-sourcery-toolchain" | ||
31 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "external-sourcery-toolchain" | ||
32 | PREFERRED_PROVIDER_libgcc = "external-sourcery-toolchain" | ||
33 | PREFERRED_PROVIDER_eglibc = "external-sourcery-toolchain" | ||
34 | PREFERRED_PROVIDER_virtual/libc = "external-sourcery-toolchain" | ||
35 | PREFERRED_PROVIDER_virtual/libintl = "external-sourcery-toolchain" | ||
36 | PREFERRED_PROVIDER_virtual/libiconv = "external-sourcery-toolchain" | ||
37 | PREFERRED_PROVIDER_glibc-thread-db = "external-sourcery-toolchain" | ||
38 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-sourcery-toolchain" | ||
39 | PREFERRED_PROVIDER_virtual/linux-libc-headers-dev = "external-sourcery-toolchain" | ||
40 | PREFERRED_PROVIDER_gdbserver ??= "external-sourcery-toolchain" | ||
41 | |||
42 | # No need to re-compile the locale files | ||
43 | GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled" | ||
44 | ENABLE_BINARY_LOCALE_GENERATION = "" | ||
45 | |||
46 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" | ||
47 | |||
48 | # Point to the appropriate multilib sysroot from the external toolchain, whose | ||
49 | # files will be extracted into the OE sysroot | ||
50 | def exttc_run(d, cmd): | ||
51 | try: | ||
52 | return bb.process.run(cmd, shell=True, env={'PATH': d.getVar('PATH', True)})[0].rstrip() | ||
53 | except (OSError, bb.process.CmdError): | ||
54 | return '' | ||
55 | |||
56 | EXTERNAL_TOOLCHAIN_SYSROOT_CMD = "${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} -print-sysroot" | ||
57 | EXTERNAL_TOOLCHAIN_SYSROOT ??= "${@exttc_run(d, EXTERNAL_TOOLCHAIN_SYSROOT_CMD)}" | ||
58 | |||
59 | # These bits are here temporarily to sidestep the need to use a separate set | ||
60 | # of tune files to pass the appropriate multilib selection arguments to the | ||
61 | # sourcery toolchain, as is needed to extract the sysroot content. | ||
62 | TUNE_CCARGS_append_x86 = " -msgxx-glibc" | ||
63 | |||
64 | CSL_MULTILIB_ARGS[ppce500] ?= "-te500v1" | ||
65 | CSL_MULTILIB_ARGS[ppce500mc] ?= "-te500mc" | ||
66 | CSL_MULTILIB_ARGS[ppce500v2] ?= "-te500v2" | ||
67 | CSL_MULTILIB_ARGS[ppce600] ?= "-te600" | ||
68 | |||
69 | def csl_multilib_arg(d): | ||
70 | argument = d.getVarFlag('CSL_MULTILIB_ARGS', d.getVar('DEFAULTTUNE', True) or '') | ||
71 | if argument: | ||
72 | return argument | ||
73 | else: | ||
74 | return '' | ||
75 | |||
76 | EXTERNAL_TOOLCHAIN_SYSROOT_CMD += "${@csl_multilib_arg(d)}" | ||
77 | |||
78 | |||
79 | # Unfortunately, the CSL ia32 toolchain has non-prefixed binaries in its | ||
80 | # bindir (e.g. gcc, ld). To avoid this messing up our build, we avoid adding | ||
81 | # this bindir to our PATH, and instead add symlinks to the prefixed binaries | ||
82 | # to our staging toolchain bindir. | ||
83 | |||
84 | python toolchain_metadata_setup () { | ||
85 | d = e.data | ||
86 | |||
87 | l = d.createCopy() | ||
88 | l.finalize() | ||
89 | if os.path.exists(bb.data.expand('${EXTERNAL_TOOLCHAIN}/bin/gcc', l)): | ||
90 | d.setVar('TOOLCHAIN_PATH_ADD', '') | ||
91 | } | ||
92 | addhandler toolchain_metadata_setup | ||
93 | toolchain_metadata_setup[eventmask] = "bb.event.ConfigParsed" | ||
94 | |||
95 | python toolchain_setup () { | ||
96 | d = e.data | ||
97 | |||
98 | if not d.getVar('TOOLCHAIN_PATH_ADD', True): | ||
99 | populate_toolchain_links(d) | ||
100 | } | ||
101 | addhandler toolchain_setup | ||
102 | toolchain_setup[eventmask] = "bb.event.BuildStarted" | ||
103 | |||
104 | def populate_toolchain_links(d): | ||
105 | import errno | ||
106 | from glob import glob | ||
107 | |||
108 | d = d.createCopy() | ||
109 | d.finalize() | ||
110 | |||
111 | pattern = d.expand('${EXTERNAL_TOOLCHAIN}/bin/${TARGET_PREFIX}*') | ||
112 | files = glob(pattern) | ||
113 | if not files: | ||
114 | bb.fatal("Unable to populate toolchain binary symlinks in %s" % pattern) | ||
115 | |||
116 | bindir = d.getVar('STAGING_BINDIR_TOOLCHAIN', True) | ||
117 | bb.utils.mkdirhier(bindir) | ||
118 | for f in files: | ||
119 | base = os.path.basename(f) | ||
120 | newpath = os.path.join(bindir, base) | ||
121 | try: | ||
122 | os.symlink(f, newpath) | ||
123 | except OSError as exc: | ||
124 | if exc.errno == errno.EEXIST: | ||
125 | break | ||
126 | bb.fatal("Unable to populate toolchain binary symlink for %s: %s" % (newpath, exc)) | ||
127 | |||
128 | require conf/distro/include/csl-versions.inc | ||
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index a40b0b87da..c96ddd31bf 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf | |||
@@ -260,7 +260,7 @@ TARGET_OS[doc] = "Specifies the target's operating system." | |||
260 | TARGET_PREFIX[doc] = "The prefix for the cross compile toolchain. E.g arm-linux- ." | 260 | TARGET_PREFIX[doc] = "The prefix for the cross compile toolchain. E.g arm-linux- ." |
261 | TARGET_SYS[doc] = "The target system is composed out of TARGET_ARCH,TARGET_VENDOR and TARGET_OS." | 261 | TARGET_SYS[doc] = "The target system is composed out of TARGET_ARCH,TARGET_VENDOR and TARGET_OS." |
262 | TCLIBC[doc] = "Specifies which variant of the GNU standard C library (libc) to use during the build process. You can select eglibc or uclibc." | 262 | TCLIBC[doc] = "Specifies which variant of the GNU standard C library (libc) to use during the build process. You can select eglibc or uclibc." |
263 | TCMODE[doc] = "The toolchain selector. It selects the external toolchain built using the OpenEmbedded build system or a few supported combinations of the upstream GCC or CodeSourcery Labs toolchain." | 263 | TCMODE[doc] = "Enables an external toolchain (where provided by an additional layer) if set to a value other than 'default'." |
264 | TEST_IMAGE[doc] = "Enable test booting of virtual machine images under the qemu emulator after any root filesystems are created and run tests against those images." | 264 | TEST_IMAGE[doc] = "Enable test booting of virtual machine images under the qemu emulator after any root filesystems are created and run tests against those images." |
265 | TIME[doc] = "The time the build was started HMS" | 265 | TIME[doc] = "The time the build was started HMS" |
266 | TMPDIR[doc] = "This variable is the temporary directory the OpenEmbedded build system uses when it does its work building images. By default, the TMPDIR variable is named tmp within the Build Directory." | 266 | TMPDIR[doc] = "This variable is the temporary directory the OpenEmbedded build system uses when it does its work building images. By default, the TMPDIR variable is named tmp within the Build Directory." |
diff --git a/meta/recipes-core/meta/external-sourcery-toolchain.bb b/meta/recipes-core/meta/external-sourcery-toolchain.bb deleted file mode 100644 index 41d86d628d..0000000000 --- a/meta/recipes-core/meta/external-sourcery-toolchain.bb +++ /dev/null | |||
@@ -1,149 +0,0 @@ | |||
1 | require recipes-core/eglibc/eglibc-package.inc | ||
2 | |||
3 | INHIBIT_DEFAULT_DEPS = "1" | ||
4 | |||
5 | # License applies to this recipe code, not the toolchain itself | ||
6 | SUMMARY = "External Sourcery G++ toolchain" | ||
7 | LICENSE = "MIT" | ||
8 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
9 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
10 | |||
11 | PROVIDES += "\ | ||
12 | linux-libc-headers \ | ||
13 | virtual/${TARGET_PREFIX}gcc \ | ||
14 | virtual/${TARGET_PREFIX}g++ \ | ||
15 | virtual/${TARGET_PREFIX}gcc-initial \ | ||
16 | virtual/${TARGET_PREFIX}gcc-intermediate \ | ||
17 | virtual/${TARGET_PREFIX}binutils \ | ||
18 | virtual/${TARGET_PREFIX}libc-for-gcc \ | ||
19 | virtual/${TARGET_PREFIX}libc-initial \ | ||
20 | virtual/${TARGET_PREFIX}compilerlibs \ | ||
21 | virtual/libc \ | ||
22 | virtual/libintl \ | ||
23 | virtual/libiconv \ | ||
24 | glibc-thread-db \ | ||
25 | libgcc \ | ||
26 | eglibc \ | ||
27 | virtual/linux-libc-headers \ | ||
28 | " | ||
29 | PV = "${CSL_VER_MAIN}" | ||
30 | PR = "r7" | ||
31 | |||
32 | #SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/${CSL_TARGET_SYS}/arm-${PV}-${TARGET_PREFIX}i686-pc-linux-gnu.tar.bz2" | ||
33 | |||
34 | SRC_URI = "file://SUPPORTED" | ||
35 | |||
36 | do_install() { | ||
37 | # Use optimized files if available | ||
38 | sysroot="${EXTERNAL_TOOLCHAIN_SYSROOT}" | ||
39 | |||
40 | cp -a $sysroot${base_libdir}/. ${D}${base_libdir} | ||
41 | cp -a $sysroot/etc/. ${D}${sysconfdir} | ||
42 | cp -a $sysroot/sbin/. ${D}${base_sbindir} | ||
43 | |||
44 | install -d ${D}/usr | ||
45 | for usr_element in bin libexec sbin share ${base_libdir}; do | ||
46 | usr_path=$sysroot/usr/$usr_element | ||
47 | cp -a $usr_path ${D}/usr/ | ||
48 | done | ||
49 | for datadir_element in man info; do | ||
50 | datadir_path=$sysroot/usr/$datadir_element | ||
51 | if [ -e $datadir_path ]; then | ||
52 | cp -a $datadir_path ${D}${datadir}/ | ||
53 | fi | ||
54 | done | ||
55 | |||
56 | # Some toolchains have headers under the core specific area | ||
57 | if [ -e $sysroot/usr/include ]; then | ||
58 | cp -a $sysroot/usr/include/. ${D}${includedir} | ||
59 | else | ||
60 | cp -a $sysroot/../usr/include/. ${D}${includedir} | ||
61 | fi | ||
62 | |||
63 | rm ${D}${sysconfdir}/rpc | ||
64 | rm -r ${D}${datadir}/zoneinfo | ||
65 | |||
66 | mv ${D}${libdir}/bin/* ${D}${bindir}/ | ||
67 | if [ -e ${D}${libdir}/bin/.debug ]; then | ||
68 | mv ${D}${libdir}/bin/.debug/* ${D}${bindir}/.debug/ | ||
69 | fi | ||
70 | ln -s ../../bin/gdbserver ${D}${libdir}/bin/sysroot-gdbserver | ||
71 | |||
72 | sed -i -e 's/__packed/__attribute__ ((packed))/' ${D}${includedir}/mtd/ubi-user.h | ||
73 | sed -i -e "s# ${base_libdir}# ../..${base_libdir}#g" -e "s# ${libdir}# .#g" ${D}${libdir}/libc.so | ||
74 | sed -i -e "s# ${base_libdir}# ../..${base_libdir}#g" -e "s# ${libdir}# .#g" ${D}${libdir}/libpthread.so | ||
75 | } | ||
76 | |||
77 | SYSROOT_PREPROCESS_FUNCS += "external_toolchain_sysroot_adjust" | ||
78 | external_toolchain_sysroot_adjust() { | ||
79 | dest_sysroot="$(${CC} -print-sysroot | sed -e's,^${STAGING_DIR_HOST},,; s,/$,,')" | ||
80 | if [ -n "$dest_sysroot" ]; then | ||
81 | rm -f ${SYSROOT_DESTDIR}/$dest_sysroot | ||
82 | ln -s . ${SYSROOT_DESTDIR}/$dest_sysroot | ||
83 | fi | ||
84 | |||
85 | # If the usr/lib directory doesn't exist, the toolchain fails to even | ||
86 | # try to find crti.o in a completely different directory (usr/lib64) | ||
87 | install -d ${SYSROOT_DESTDIR}/usr/lib | ||
88 | } | ||
89 | |||
90 | PACKAGES =+ "libgcc libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev linux-libc-headers linux-libc-headers-dev gdbserver gdbserver-dbg" | ||
91 | |||
92 | # This test should be fixed to ignore .a files in .debug dirs | ||
93 | INSANE_SKIP_${PN}-dbg = "staticdev" | ||
94 | |||
95 | # We don't care about GNU_HASH in prebuilt binaries | ||
96 | INSANE_SKIP_${PN}-utils += "ldflags" | ||
97 | INSANE_SKIP_libstdc++ += "ldflags" | ||
98 | INSANE_SKIP_libgcc += "ldflags" | ||
99 | INSANE_SKIP_gdbserver += "ldflags" | ||
100 | |||
101 | PKG_${PN} = "eglibc" | ||
102 | PKG_${PN}-dev = "eglibc-dev" | ||
103 | PKG_${PN}-staticdev = "eglibc-staticdev" | ||
104 | PKG_${PN}-doc = "eglibc-doc" | ||
105 | PKG_${PN}-dbg = "eglibc-dbg" | ||
106 | PKG_${PN}-pic = "eglibc-pic" | ||
107 | PKG_${PN}-utils = "eglibc-utils" | ||
108 | PKG_${PN}-gconv = "eglibc-gconv" | ||
109 | PKG_${PN}-extra-nss = "eglibc-extra-nss" | ||
110 | PKG_${PN}-thread-db = "eglibc-thread-db" | ||
111 | PKG_${PN}-pcprofile = "eglibc-pcprofile" | ||
112 | |||
113 | PKGV = "${CSL_VER_LIBC}" | ||
114 | PKGV_libgcc = "${CSL_VER_GCC}" | ||
115 | PKGV_libgcc-dev = "${CSL_VER_GCC}" | ||
116 | PKGV_libstdc++ = "${CSL_VER_GCC}" | ||
117 | PKGV_libstdc++-dev = "${CSL_VER_GCC}" | ||
118 | PKGV_libstdc++-staticdev = "${CSL_VER_GCC}" | ||
119 | PKGV_linux-libc-headers = "${CSL_VER_KERNEL}" | ||
120 | PKGV_linux-libc-headers-dev = "${CSL_VER_KERNEL}" | ||
121 | PKGV_gdbserver = "${CSL_VER_GDB}" | ||
122 | PKGV_gdbserver-dbg = "${CSL_VER_GDB}" | ||
123 | |||
124 | FILES_libgcc = "${base_libdir}/libgcc_s.so.1" | ||
125 | FILES_libgcc-dev = "${base_libdir}/libgcc_s.so" | ||
126 | FILES_libstdc++ = "${libdir}/libstdc++.so.*" | ||
127 | FILES_libstdc++-dev = "${includedir}/c++/${PV} \ | ||
128 | ${libdir}/libstdc++.so \ | ||
129 | ${libdir}/libstdc++.la \ | ||
130 | ${libdir}/libsupc++.la" | ||
131 | FILES_libstdc++-staticdev = "${libdir}/libstdc++.a ${libdir}/libsupc++.a" | ||
132 | FILES_linux-libc-headers = "${includedir}/asm* \ | ||
133 | ${includedir}/linux \ | ||
134 | ${includedir}/mtd \ | ||
135 | ${includedir}/rdma \ | ||
136 | ${includedir}/scsi \ | ||
137 | ${includedir}/sound \ | ||
138 | ${includedir}/video \ | ||
139 | " | ||
140 | FILES_gdbserver = "${bindir}/gdbserver ${libdir}/bin/sysroot-gdbserver" | ||
141 | FILES_gdbserver-dbg = "${bindir}/.debug/gdbserver" | ||
142 | |||
143 | CSL_VER_MAIN ??= "" | ||
144 | |||
145 | python () { | ||
146 | if not d.getVar("CSL_VER_MAIN"): | ||
147 | raise bb.parse.SkipPackage("External CSL toolchain not configured (CSL_VER_MAIN not set).") | ||
148 | } | ||
149 | |||
diff --git a/meta/recipes-core/meta/external-sourcery-toolchain/SUPPORTED b/meta/recipes-core/meta/external-sourcery-toolchain/SUPPORTED deleted file mode 100644 index 3f746888b4..0000000000 --- a/meta/recipes-core/meta/external-sourcery-toolchain/SUPPORTED +++ /dev/null | |||
@@ -1,257 +0,0 @@ | |||
1 | aa_DJ ISO-8859-1 | ||
2 | aa_ER UTF-8 | ||
3 | aa_ER@saaho UTF-8 | ||
4 | aa_ET UTF-8 | ||
5 | af_ZA ISO-8859-1 | ||
6 | am_ET UTF-8 | ||
7 | an_ES ISO-8859-15 | ||
8 | ar_AE ISO-8859-6 | ||
9 | ar_BH ISO-8859-6 | ||
10 | ar_DZ ISO-8859-6 | ||
11 | ar_EG ISO-8859-6 | ||
12 | ar_IN UTF-8 | ||
13 | ar_IQ ISO-8859-6 | ||
14 | ar_JO ISO-8859-6 | ||
15 | ar_KW ISO-8859-6 | ||
16 | ar_LB ISO-8859-6 | ||
17 | ar_LY ISO-8859-6 | ||
18 | ar_MA ISO-8859-6 | ||
19 | ar_OM ISO-8859-6 | ||
20 | ar_QA ISO-8859-6 | ||
21 | ar_SA ISO-8859-6 | ||
22 | ar_SD ISO-8859-6 | ||
23 | ar_SY ISO-8859-6 | ||
24 | ar_TN ISO-8859-6 | ||
25 | ar_YE ISO-8859-6 | ||
26 | ast_ES ISO-8859-15 | ||
27 | be_BY CP1251 | ||
28 | be_BY@latin UTF-8 | ||
29 | ber_DZ UTF-8 | ||
30 | ber_MA UTF-8 | ||
31 | bg_BG CP1251 | ||
32 | bn_BD UTF-8 | ||
33 | bn_IN UTF-8 | ||
34 | bo_CN UTF-8 | ||
35 | bo_IN UTF-8 | ||
36 | br_FR ISO-8859-1 | ||
37 | br_FR@euro ISO-8859-15 | ||
38 | bs_BA ISO-8859-2 | ||
39 | byn_ER UTF-8 | ||
40 | ca_AD ISO-8859-15 | ||
41 | ca_ES ISO-8859-1 | ||
42 | ca_ES@euro ISO-8859-15 | ||
43 | ca_FR ISO-8859-15 | ||
44 | ca_IT ISO-8859-15 | ||
45 | crh_UA UTF-8 | ||
46 | cs_CZ ISO-8859-2 | ||
47 | csb_PL UTF-8 | ||
48 | cy_GB ISO-8859-14 | ||
49 | da_DK ISO-8859-1 | ||
50 | de_AT ISO-8859-1 | ||
51 | de_AT@euro ISO-8859-15 | ||
52 | de_BE ISO-8859-1 | ||
53 | de_BE@euro ISO-8859-15 | ||
54 | de_CH ISO-8859-1 | ||
55 | de_DE ISO-8859-1 | ||
56 | de_DE@euro ISO-8859-15 | ||
57 | de_LU ISO-8859-1 | ||
58 | de_LU@euro ISO-8859-15 | ||
59 | dv_MV UTF-8 | ||
60 | dz_BT UTF-8 | ||
61 | el_GR ISO-8859-7 | ||
62 | el_CY ISO-8859-7 | ||
63 | en_AG UTF-8 | ||
64 | en_AU ISO-8859-1 | ||
65 | en_BW ISO-8859-1 | ||
66 | en_CA ISO-8859-1 | ||
67 | en_DK ISO-8859-1 | ||
68 | en_GB ISO-8859-1 | ||
69 | en_HK ISO-8859-1 | ||
70 | en_IE ISO-8859-1 | ||
71 | en_IE@euro ISO-8859-15 | ||
72 | en_IN UTF-8 | ||
73 | en_NG UTF-8 | ||
74 | en_NZ ISO-8859-1 | ||
75 | en_PH ISO-8859-1 | ||
76 | en_SG ISO-8859-1 | ||
77 | en_US ISO-8859-1 | ||
78 | en_ZA ISO-8859-1 | ||
79 | en_ZW ISO-8859-1 | ||
80 | es_AR ISO-8859-1 | ||
81 | es_BO ISO-8859-1 | ||
82 | es_CL ISO-8859-1 | ||
83 | es_CO ISO-8859-1 | ||
84 | es_DO ISO-8859-1 | ||
85 | es_EC ISO-8859-1 | ||
86 | es_ES ISO-8859-1 | ||
87 | es_ES@euro ISO-8859-15 | ||
88 | es_GT ISO-8859-1 | ||
89 | es_HN ISO-8859-1 | ||
90 | es_MX ISO-8859-1 | ||
91 | es_NI ISO-8859-1 | ||
92 | es_PA ISO-8859-1 | ||
93 | es_PE ISO-8859-1 | ||
94 | es_PR ISO-8859-1 | ||
95 | es_PY ISO-8859-1 | ||
96 | es_SV ISO-8859-1 | ||
97 | es_US ISO-8859-1 | ||
98 | es_UY ISO-8859-1 | ||
99 | es_VE ISO-8859-1 | ||
100 | et_EE ISO-8859-1 | ||
101 | eu_ES ISO-8859-1 | ||
102 | eu_ES@euro ISO-8859-15 | ||
103 | fa_IR UTF-8 | ||
104 | fi_FI ISO-8859-1 | ||
105 | fi_FI@euro ISO-8859-15 | ||
106 | fil_PH UTF-8 | ||
107 | fo_FO ISO-8859-1 | ||
108 | fr_BE ISO-8859-1 | ||
109 | fr_BE@euro ISO-8859-15 | ||
110 | fr_CA ISO-8859-1 | ||
111 | fr_CH ISO-8859-1 | ||
112 | fr_FR ISO-8859-1 | ||
113 | fr_FR@euro ISO-8859-15 | ||
114 | fr_LU ISO-8859-1 | ||
115 | fr_LU@euro ISO-8859-15 | ||
116 | fur_IT UTF-8 | ||
117 | fy_NL UTF-8 | ||
118 | fy_DE UTF-8 | ||
119 | ga_IE ISO-8859-1 | ||
120 | ga_IE@euro ISO-8859-15 | ||
121 | gd_GB ISO-8859-15 | ||
122 | gez_ER UTF-8 | ||
123 | gez_ER@abegede UTF-8 | ||
124 | gez_ET UTF-8 | ||
125 | gez_ET@abegede UTF-8 | ||
126 | gl_ES ISO-8859-1 | ||
127 | gl_ES@euro ISO-8859-15 | ||
128 | gu_IN UTF-8 | ||
129 | gv_GB ISO-8859-1 | ||
130 | ha_NG UTF-8 | ||
131 | he_IL ISO-8859-8 | ||
132 | hi_IN UTF-8 | ||
133 | hne_IN UTF-8 | ||
134 | hr_HR ISO-8859-2 | ||
135 | hsb_DE ISO-8859-2 | ||
136 | ht_HT UTF-8 | ||
137 | hu_HU ISO-8859-2 | ||
138 | hy_AM UTF-8 | ||
139 | id_ID ISO-8859-1 | ||
140 | ig_NG UTF-8 | ||
141 | ik_CA UTF-8 | ||
142 | is_IS ISO-8859-1 | ||
143 | it_CH ISO-8859-1 | ||
144 | it_IT ISO-8859-1 | ||
145 | it_IT@euro ISO-8859-15 | ||
146 | iu_CA UTF-8 | ||
147 | iw_IL ISO-8859-8 | ||
148 | ka_GE GEORGIAN-PS | ||
149 | kk_KZ PT154 | ||
150 | kk_KZ RK1048 | ||
151 | kl_GL ISO-8859-1 | ||
152 | km_KH UTF-8 | ||
153 | kn_IN UTF-8 | ||
154 | ks_IN UTF-8 | ||
155 | ks_IN@devanagari UTF-8 | ||
156 | ku_TR ISO-8859-9 | ||
157 | kw_GB ISO-8859-1 | ||
158 | ky_KG UTF-8 | ||
159 | lg_UG ISO-8859-10 | ||
160 | li_BE UTF-8 | ||
161 | li_NL UTF-8 | ||
162 | lo_LA UTF-8 | ||
163 | lt_LT ISO-8859-13 | ||
164 | lv_LV ISO-8859-13 | ||
165 | mai_IN UTF-8 | ||
166 | mg_MG ISO-8859-15 | ||
167 | mi_NZ ISO-8859-13 | ||
168 | mk_MK ISO-8859-5 | ||
169 | ml_IN UTF-8 | ||
170 | mn_MN UTF-8 | ||
171 | mr_IN UTF-8 | ||
172 | ms_MY ISO-8859-1 | ||
173 | mt_MT ISO-8859-3 | ||
174 | my_MM UTF-8 | ||
175 | nan_TW@latin UTF-8 | ||
176 | nb_NO ISO-8859-1 | ||
177 | nds_DE UTF-8 | ||
178 | nds_NL UTF-8 | ||
179 | ne_NP UTF-8 | ||
180 | nl_AW UTF-8 | ||
181 | nl_BE ISO-8859-1 | ||
182 | nl_BE@euro ISO-8859-15 | ||
183 | nl_NL ISO-8859-1 | ||
184 | nl_NL@euro ISO-8859-15 | ||
185 | nn_NO ISO-8859-1 | ||
186 | nr_ZA UTF-8 | ||
187 | nso_ZA UTF-8 | ||
188 | oc_FR ISO-8859-1 | ||
189 | om_ET UTF-8 | ||
190 | om_KE ISO-8859-1 | ||
191 | or_IN UTF-8 | ||
192 | pa_IN UTF-8 | ||
193 | pa_PK UTF-8 | ||
194 | pap_AN UTF-8 | ||
195 | pl_PL ISO-8859-2 | ||
196 | ps_AF UTF-8 | ||
197 | pt_BR ISO-8859-1 | ||
198 | pt_PT ISO-8859-1 | ||
199 | pt_PT@euro ISO-8859-15 | ||
200 | ro_RO ISO-8859-2 | ||
201 | ru_RU ISO-8859-5 | ||
202 | ru_UA KOI8-U | ||
203 | rw_RW UTF-8 | ||
204 | sa_IN UTF-8 | ||
205 | sc_IT UTF-8 | ||
206 | sd_IN UTF-8 | ||
207 | sd_IN@devanagari UTF-8 | ||
208 | se_NO UTF-8 | ||
209 | shs_CA UTF-8 | ||
210 | si_LK UTF-8 | ||
211 | sid_ET UTF-8 | ||
212 | sk_SK ISO-8859-2 | ||
213 | sl_SI ISO-8859-2 | ||
214 | so_DJ ISO-8859-1 | ||
215 | so_ET UTF-8 | ||
216 | so_KE ISO-8859-1 | ||
217 | so_SO ISO-8859-1 | ||
218 | sq_AL ISO-8859-1 | ||
219 | sr_ME UTF-8 | ||
220 | sr_RS UTF-8 | ||
221 | sr_RS@latin UTF-8 | ||
222 | ss_ZA UTF-8 | ||
223 | st_ZA ISO-8859-1 | ||
224 | sv_FI ISO-8859-1 | ||
225 | sv_FI@euro ISO-8859-15 | ||
226 | sv_SE ISO-8859-1 | ||
227 | ta_IN UTF-8 | ||
228 | te_IN UTF-8 | ||
229 | tg_TJ KOI8-T | ||
230 | th_TH TIS-620 | ||
231 | ti_ER UTF-8 | ||
232 | ti_ET UTF-8 | ||
233 | tig_ER UTF-8 | ||
234 | tk_TM UTF-8 | ||
235 | tl_PH ISO-8859-1 | ||
236 | tn_ZA UTF-8 | ||
237 | tr_CY ISO-8859-9 | ||
238 | tr_TR ISO-8859-9 | ||
239 | ts_ZA UTF-8 | ||
240 | ug_CN UTF-8 | ||
241 | uk_UA KOI8-U | ||
242 | ur_PK UTF-8 | ||
243 | uz_UZ ISO-8859-1 | ||
244 | uz_UZ@cyrillic UTF-8 | ||
245 | ve_ZA UTF-8 | ||
246 | vi_VN UTF-8 | ||
247 | wa_BE ISO-8859-1 | ||
248 | wa_BE@euro ISO-8859-15 | ||
249 | wo_SN UTF-8 | ||
250 | xh_ZA ISO-8859-1 | ||
251 | yi_US CP1255 | ||
252 | yo_NG UTF-8 | ||
253 | zh_CN GB2312 | ||
254 | zh_HK BIG5-HKSCS | ||
255 | zh_SG GB2312 | ||
256 | zh_TW BIG5 | ||
257 | zu_ZA ISO-8859-1 | ||