summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/distro')
-rw-r--r--meta/conf/distro/defaultsetup.conf22
-rw-r--r--meta/conf/distro/include/as-needed.inc16
-rw-r--r--meta/conf/distro/include/csl-versions.inc107
-rw-r--r--meta/conf/distro/include/default-distrovars.inc50
-rw-r--r--meta/conf/distro/include/default-providers.inc45
-rw-r--r--meta/conf/distro/include/default-versions.inc11
-rw-r--r--meta/conf/distro/include/security_flags.inc48
-rw-r--r--meta/conf/distro/include/seperatebuilddir.inc778
-rw-r--r--meta/conf/distro/include/tclibc-eglibc.inc40
-rw-r--r--meta/conf/distro/include/tclibc-uclibc.inc28
-rw-r--r--meta/conf/distro/include/tcmode-default.inc60
-rw-r--r--meta/conf/distro/include/tcmode-external-csl.inc2
-rw-r--r--meta/conf/distro/include/tcmode-external-sourcery.inc128
-rw-r--r--meta/conf/distro/include/world-broken.inc5
14 files changed, 1340 insertions, 0 deletions
diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf
new file mode 100644
index 0000000000..5557350697
--- /dev/null
+++ b/meta/conf/distro/defaultsetup.conf
@@ -0,0 +1,22 @@
1include conf/distro/include/default-providers.inc
2include conf/distro/include/default-versions.inc
3include conf/distro/include/default-distrovars.inc
4include conf/distro/include/world-broken.inc
5
6TCMODE ?= "default"
7require conf/distro/include/tcmode-${TCMODE}.inc
8
9TCLIBC ?= "eglibc"
10require conf/distro/include/tclibc-${TCLIBC}.inc
11
12# Allow single libc distros to disable this code
13TCLIBCAPPEND ?= "-${TCLIBC}"
14TMPDIR .= "${TCLIBCAPPEND}"
15
16CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE', True))][bool(d.getVar('MACHINE', True))]}${@['', '/' + str(d.getVar('SDKMACHINE', True))][bool(d.getVar('SDKMACHINE', True))]}"
17
18USER_CLASSES ?= ""
19PACKAGE_CLASSES ?= "package_ipk"
20INHERIT_DISTRO ?= "debian devshell sstate license"
21INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO}"
22
diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc
new file mode 100644
index 0000000000..9d2056e17a
--- /dev/null
+++ b/meta/conf/distro/include/as-needed.inc
@@ -0,0 +1,16 @@
1
2ASNEEDED = "-Wl,--as-needed"
3
4ASNEEDED_pn-console-tools = ""
5ASNEEDED_pn-distcc = ""
6ASNEEDED_pn-openobex = ""
7ASNEEDED_pn-icu = ""
8ASNEEDED_pn-xserver-kdrive-xomap = ""
9ASNEEDED_pn-minimo = ""
10ASNEEDED_pn-pciutils = ""
11ASNEEDED_pn-puzzles = ""
12ASNEEDED_pn-dialer = ""
13ASNEEDED_pn-pulseaudio = ""
14ASNEEDED_pn-rpm = ""
15
16TARGET_LDFLAGS += "${ASNEEDED}"
diff --git a/meta/conf/distro/include/csl-versions.inc b/meta/conf/distro/include/csl-versions.inc
new file mode 100644
index 0000000000..3938bf7ed2
--- /dev/null
+++ b/meta/conf/distro/include/csl-versions.inc
@@ -0,0 +1,107 @@
1def 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
16def 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
27def 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
34def 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
41def 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
56def 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
82def 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
91python 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}
102addhandler csl_version_handler
103csl_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
107TOOLCHAIN_OPTIONS[vardeps] += "CSL_VER_MAIN CSL_VER_GCC"
diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
new file mode 100644
index 0000000000..d275525000
--- /dev/null
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -0,0 +1,50 @@
1QA_LOGFILE = "${TMPDIR}/qa.log"
2
3OEINCLUDELOGS ?= "yes"
4KERNEL_CONSOLE ?= "ttyS0"
5KEEPUIMAGE ??= "yes"
6
7IMAGE_LINGUAS ?= "en-us en-gb"
8LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB"
9ENABLE_BINARY_LOCALE_GENERATION ?= "1"
10LOCALE_UTF8_ONLY ?= "0"
11
12DISTRO_FEATURES_DEFAULT ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
13DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \
14 libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \
15 libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code \
16 libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \
17 libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \
18 libc-posix-wchar-io"
19DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}"
20DISTRO_FEATURES_LIBC_class-nativesdk = "${DISTRO_FEATURES_LIBC_DEFAULT}"
21DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}"
22
23IMAGE_FEATURES ?= ""
24
25# This is a list of packages that are used by the build system to build the distribution, they are not
26# directly part of the distribution.
27HOSTTOOLS_WHITELIST_GPLv3 ?= ""
28WHITELIST_GPLv3 ?= "less"
29LGPLv2_WHITELIST_GPLv3 ?= "libassuan gnutls libtasn1 libidn libgcc gcc-runtime"
30
31COMMERCIAL_AUDIO_PLUGINS ?= ""
32# COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse"
33COMMERCIAL_VIDEO_PLUGINS ?= ""
34# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
35COMMERCIAL_QT ?= ""
36# COMMERCIAL_QT ?= "qmmp"
37# Set of common licenses used for license.bbclass
38COMMON_LICENSE_DIR ??= "${COREBASE}/meta/files/common-licenses"
39
40BB_GENERATE_MIRROR_TARBALLS ??= "0"
41
42NO32LIBS ??= "1"
43
44# Default to emitting logfiles if a build fails.
45BBINCLUDELOGS ??= "yes"
46SDK_VERSION ??= "oe-core.0"
47DISTRO_VERSION ??= "oe-core.0"
48
49# Missing checksums should raise an error
50BB_STRICT_CHECKSUM = "1"
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
new file mode 100644
index 0000000000..d4b9db014e
--- /dev/null
+++ b/meta/conf/distro/include/default-providers.inc
@@ -0,0 +1,45 @@
1#
2# Default virtual providers
3#
4PREFERRED_PROVIDER_virtual/db ?= "db"
5PREFERRED_PROVIDER_virtual/db-native ?= "db-native"
6PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
7PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg"
8PREFERRED_PROVIDER_virtual/egl ?= "mesa"
9PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
10PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
11PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
12PREFERRED_PROVIDER_virtual/mesa ?= "mesa"
13PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg"
14PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native"
15PREFERRED_PROVIDER_virtual/libx11 ?= "libx11"
16PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel"
17
18#
19# Default virtual runtime providers
20#
21VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
22VIRTUAL-RUNTIME_apm ?= "apm"
23VIRTUAL-RUNTIME_alsa-state ?= "alsa-state"
24
25#
26# Default recipe providers
27#
28PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
29PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
30PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
31PREFERRED_PROVIDER_libgcc ?= "libgcc"
32PREFERRED_PROVIDER_nativesdk-libgcc ?= "nativesdk-libgcc"
33PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
34PREFERRED_PROVIDER_nativesdk-linux-libc-headers ?= "nativesdk-linux-libc-headers"
35PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2"
36PREFERRED_PROVIDER_opkg ?= "opkg"
37PREFERRED_PROVIDER_opkg-native ?= "opkg-native"
38PREFERRED_PROVIDER_nativesdk-opkg ?= "nativesdk-opkg"
39PREFERRED_PROVIDER_console-tools ?= "kbd"
40PREFERRED_PROVIDER_gzip-native ?= "pigz-native"
41PREFERRED_PROVIDER_make ?= "make"
42PREFERRED_PROVIDER_udev ?= "${@base_contains('DISTRO_FEATURES','systemd','systemd','udev',d)}"
43# There are issues with runtime packages and PREFERRED_PROVIDER, see YOCTO #5044 for details
44# on this rather strange entry.
45PREFERRED_PROVIDER_bluez4 ?= "bluez4"
diff --git a/meta/conf/distro/include/default-versions.inc b/meta/conf/distro/include/default-versions.inc
new file mode 100644
index 0000000000..53ec2e7caf
--- /dev/null
+++ b/meta/conf/distro/include/default-versions.inc
@@ -0,0 +1,11 @@
1#
2# Default preferred versions
3#
4
5# Force the python versions in one place
6PYTHON_BASEVERSION ?= "2.7"
7PREFERRED_VERSION_python ?= "2.7.3"
8PREFERRED_VERSION_python-native ?= "2.7.3"
9
10# Force the older version of liberation-fonts until we fix the fontforge issue
11PREFERRED_VERSION_liberation-fonts ?= "1.04"
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
new file mode 100644
index 0000000000..e313be67b1
--- /dev/null
+++ b/meta/conf/distro/include/security_flags.inc
@@ -0,0 +1,48 @@
1SECURITY_CFLAGS ?= "-fstack-protector-all -pie -fpie -D_FORTIFY_SOURCE=2"
2SECURITY_NO_PIE_CFLAGS ?= "-fstack-protector-all -D_FORTIFY_SOURCE=2"
3SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now"
4
5SECURITY_CFLAGS_pn-aspell = "${SECURITY_NO_PIE_CFLAGS}"
6SECURITY_CFLAGS_pn-beecrypt = "${SECURITY_NO_PIE_CFLAGS}"
7# Curl seems to check for FORTIFY_SOURCE in CFLAGS, but even assigned
8# to CPPFLAGS it gets picked into CFLAGS in bitbake.
9#TARGET_CPPFLAGS_pn-curl += "-D_FORTIFY_SOURCE=2"
10SECURITY_CFLAGS_pn-curl = "-fstack-protector-all -pie -fpie"
11SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}"
12SECURITY_CFLAGS_pn-eglibc = ""
13SECURITY_CFLAGS_pn-eglibc-initial = ""
14SECURITY_CFLAGS_pn-enchant = "${SECURITY_NO_PIE_CFLAGS}"
15SECURITY_CFLAGS_pn-flac = "${SECURITY_NO_PIE_CFLAGS}"
16SECURITY_CFLAGS_pn-gcc-runtime = "${SECURITY_NO_PIE_CFLAGS}"
17SECURITY_CFLAGS_pn-gdb = "${SECURITY_NO_PIE_CFLAGS}"
18SECURITY_CFLAGS_pn-gmp = "${SECURITY_NO_PIE_CFLAGS}"
19SECURITY_CFLAGS_pn-gnutls = "${SECURITY_NO_PIE_CFLAGS}"
20SECURITY_CFLAGS_pn-grub = ""
21SECURITY_CFLAGS_pn-gst-plugins-bad = "${SECURITY_NO_PIE_CFLAGS}"
22SECURITY_CFLAGS_pn-gst-plugins-gl = "${SECURITY_NO_PIE_CFLAGS}"
23SECURITY_CFLAGS_pn-gstreamer1.0-plugins-good = "${SECURITY_NO_PIE_CFLAGS}"
24SECURITY_CFLAGS_pn-harfbuzz = "${SECURITY_NO_PIE_CFLAGS}"
25SECURITY_CFLAGS_pn-kexec-tools = "${SECURITY_NO_PIE_CFLAGS}"
26SECURITY_CFLAGS_pn-libcap = "${SECURITY_NO_PIE_CFLAGS}"
27SECURITY_CFLAGS_pn-libgcc = "${SECURITY_NO_PIE_CFLAGS}"
28SECURITY_CFLAGS_pn-libglu = "${SECURITY_NO_PIE_CFLAGS}"
29SECURITY_CFLAGS_pn-libpcre = "${SECURITY_NO_PIE_CFLAGS}"
30SECURITY_CFLAGS_pn-mesa = "${SECURITY_NO_PIE_CFLAGS}"
31SECURITY_CFLAGS_pn-mesa-gl = "${SECURITY_NO_PIE_CFLAGS}"
32SECURITY_CFLAGS_pn-opensp = "${SECURITY_NO_PIE_CFLAGS}"
33SECURITY_CFLAGS_pn-ppp = "${SECURITY_NO_PIE_CFLAGS}"
34SECURITY_CFLAGS_pn-python = "${SECURITY_NO_PIE_CFLAGS}"
35SECURITY_CFLAGS_pn-python-imaging = "${SECURITY_NO_PIE_CFLAGS}"
36SECURITY_CFLAGS_pn-python-pycurl = "${SECURITY_NO_PIE_CFLAGS}"
37SECURITY_CFLAGS_pn-python-smartpm = "${SECURITY_NO_PIE_CFLAGS}"
38SECURITY_CFLAGS_pn-tcl = "${SECURITY_NO_PIE_CFLAGS}"
39SECURITY_CFLAGS_pn-tiff = "${SECURITY_NO_PIE_CFLAGS}"
40SECURITY_CFLAGS_pn-webkit-gtk = "${SECURITY_NO_PIE_CFLAGS}"
41SECURITY_CFLAGS_pn-zlib = "${SECURITY_NO_PIE_CFLAGS}"
42
43# These 2 have text relco errors with the pie options enabled
44SECURITY_CFLAGS_pn-ltp = "${SECURITY_NO_PIE_CFLAGS}"
45SECURITY_CFLAGS_pn-pulseaudio = "${SECURITY_NO_PIE_CFLAGS}"
46
47TARGET_CFLAGS_append = " ${SECURITY_CFLAGS}"
48TARGET_LDFLAGS_append = " ${SECURITY_LDFLAGS}"
diff --git a/meta/conf/distro/include/seperatebuilddir.inc b/meta/conf/distro/include/seperatebuilddir.inc
new file mode 100644
index 0000000000..8f2ebfa8fb
--- /dev/null
+++ b/meta/conf/distro/include/seperatebuilddir.inc
@@ -0,0 +1,778 @@
1# List of autotools recipes which support building with external build directories
2# i.e. ${B} != ${S}
3SEPB = "${WORKDIR}/build"
4
5# Makefile based, no out of tree support
6#B_pn-acl = "${SEPB}"
7#B_pn-acl-native = "${SEPB}"
8B_pn-alsa-lib = "${SEPB}"
9B_pn-alsa-lib-native = "${SEPB}"
10# Not autotools
11#B_pn-alsa-tools = "${SEPB}"
12# Has header issues at compile, likely fixable
13#B_pn-alsa-utils = "${SEPB}"
14B_pn-apache2 = "${SEPB}"
15# No working out of tree support
16#B_pn-apr = "${SEPB}"
17#B_pn-apr-native = "${SEPB}"
18#B_pn-apr-util = "${SEPB}"
19#B_pn-apr-util-native = "${SEPB}"
20B_pn-apt = "${SEPB}"
21B_pn-apt-native = "${SEPB}"
22# support for out of tree broken at compile, likely fixable
23#B_pn-aspell = "${SEPB}"
24# No support for out of tree builds
25#B_pn-at = "${SEPB}"
26B_pn-atk = "${SEPB}"
27B_pn-atk-native = "${SEPB}"
28# Makefile based, no out of tree support
29#B_pn-attr = "${SEPB}"
30#B_pn-attr-native = "${SEPB}"
31B_pn-augeas = "${SEPB}"
32B_pn-autoconf = "${SEPB}"
33B_pn-autoconf-native = "${SEPB}"
34B_pn-autogen-native = "${SEPB}"
35B_pn-automake = "${SEPB}"
36B_pn-automake-native = "${SEPB}"
37B_pn-avahi = "${SEPB}"
38B_pn-avahi-ui = "${SEPB}"
39B_pn-babeltrace = "${SEPB}"
40B_pn-base-passwd = "${SEPB}"
41#B_pn-bash = "${SEPB}"
42B_pn-bc = "${SEPB}"
43B_pn-bdwgc = "${SEPB}"
44B_pn-bdwgc-native = "${SEPB}"
45B_pn-beecrypt = "${SEPB}"
46B_pn-beecrypt-native = "${SEPB}"
47B_pn-bigreqsproto = "${SEPB}"
48B_pn-bigreqsproto-native = "${SEPB}"
49#| make[3]: Entering directory `/media/build1/poky/build/tmp/work/i586-poky-linux/bind/9.8.1-r5/build/bin/named'
50#| i586-poky-linux-gcc -m32 -march=i586 --sysroot=/media/build1/poky/build/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -c -o named-symtbl.o named-symtbl.c
51#| named-symtbl.c:4:27: fatal error: isc/backtrace.h: No such file or directory
52#B_pn-bind = "${SEPB}"
53B_pn-bison = "${SEPB}"
54B_pn-bison-native = "${SEPB}"
55B_pn-blktool = "${SEPB}"
56# ln: failed to create symbolic link 'lib/bluetooth/bluetooth.h': File exists
57#B_pn-bluez4 = "${SEPB}"
58B_pn-bluez-hcidump = "${SEPB}"
59B_pn-byacc = "${SEPB}"
60B_pn-byacc-native = "${SEPB}"
61B_pn-bzip2 = "${SEPB}"
62B_pn-bzip2-native = "${SEPB}"
63B_pn-cairo = "${SEPB}"
64B_pn-cairo-native = "${SEPB}"
65B_pn-calibrateproto = "${SEPB}"
66B_pn-ccache = "${SEPB}"
67B_pn-ccache-native = "${SEPB}"
68B_pn-chrpath = "${SEPB}"
69B_pn-chrpath-native = "${SEPB}"
70B_pn-clutter-1.0 = "${SEPB}"
71B_pn-clutter-gst-1.0 = "${SEPB}"
72B_pn-clutter-gtk-1.0 = "${SEPB}"
73#B_pn-cmake = "${SEPB}"
74#B_pn-cmake-native = "${SEPB}"
75B_pn-cogl-1.0 = "${SEPB}"
76B_pn-compositeproto = "${SEPB}"
77B_pn-compositeproto-native = "${SEPB}"
78#B_pn-connman = "${SEPB}"
79#B_pn-connman-gnome = "${SEPB}"
80B_pn-consolekit = "${SEPB}"
81B_pn-console-tools = "${SEPB}"
82B_pn-coreutils = "${SEPB}"
83B_pn-coreutils-native = "${SEPB}"
84B_pn-courier-authlib = "${SEPB}"
85B_pn-courier-imap = "${SEPB}"
86B_pn-cpio = "${SEPB}"
87B_pn-cracklib = "${SEPB}"
88B_pn-cronie = "${SEPB}"
89B_pn-cross-localedef-native = "${SEPB}"
90#No autoconf and no support for separate build
91#B_pn-cups = "${SEPB}"
92B_pn-curl = "${SEPB}"
93B_pn-curl-native = "${SEPB}"
94B_pn-damageproto = "${SEPB}"
95B_pn-damageproto-native = "${SEPB}"
96B_pn-db = "${SEPB}"
97B_pn-db-native = "${SEPB}"
98B_pn-dbus = "${SEPB}"
99B_pn-dbus-glib = "${SEPB}"
100B_pn-dbus-glib-native = "${SEPB}"
101B_pn-dbus-native = "${SEPB}"
102B_pn-dbus-ptest = "${SEPB}"
103B_pn-dbus-wait = "${SEPB}"
104B_pn-desktop-file-utils-native = "${SEPB}"
105B_pn-dhcp = "${SEPB}"
106B_pn-diffstat = "${SEPB}"
107B_pn-diffutils = "${SEPB}"
108B_pn-directfb = "${SEPB}"
109B_pn-directfb-examples = "${SEPB}"
110B_pn-distcc = "${SEPB}"
111B_pn-dmxproto = "${SEPB}"
112B_pn-docbook-utils-native = "${SEPB}"
113B_pn-dpkg = "${SEPB}"
114B_pn-dpkg-native = "${SEPB}"
115B_pn-dri2proto = "${SEPB}"
116B_pn-dropbear = "${SEPB}"
117## Makefile based not autotools
118##B_pn-dtc = "${SEPB}"
119##B_pn-dtc-native = "${SEPB}"
120B_pn-e2fsprogs = "${SEPB}"
121B_pn-e2fsprogs-native = "${SEPB}"
122B_pn-ed = "${SEPB}"
123B_pn-elfutils = "${SEPB}"
124B_pn-elfutils-native = "${SEPB}"
125B_pn-enchant = "${SEPB}"
126B_pn-encodings = "${SEPB}"
127B_pn-ethtool = "${SEPB}"
128B_pn-expat = "${SEPB}"
129B_pn-expat-native = "${SEPB}"
130B_pn-fetchmail = "${SEPB}"
131B_pn-file = "${SEPB}"
132B_pn-file-native = "${SEPB}"
133B_pn-findutils = "${SEPB}"
134B_pn-findutils-native = "${SEPB}"
135B_pn-fixesproto = "${SEPB}"
136B_pn-fixesproto-native = "${SEPB}"
137# /bin/bash: line 0: cd: api: No such file or directory
138#B_pn-flac = "${SEPB}"
139B_pn-flex = "${SEPB}"
140B_pn-flex-native = "${SEPB}"
141B_pn-font-alias = "${SEPB}"
142B_pn-fontconfig = "${SEPB}"
143B_pn-fontconfig-native = "${SEPB}"
144B_pn-fontsproto = "${SEPB}"
145B_pn-fontsproto-native = "${SEPB}"
146B_pn-font-util = "${SEPB}"
147B_pn-font-util-native = "${SEPB}"
148B_pn-foomatic-filters = "${SEPB}"
149## run.do_configure.4694: 88: cd: can't cd to builds/unix
150##B_pn-freetype = "${SEPB}"
151##B_pn-freetype-native = "${SEPB}"
152B_pn-fstests = "${SEPB}"
153B_pn-gaku = "${SEPB}"
154B_pn-gamin = "${SEPB}"
155B_pn-gawk = "${SEPB}"
156B_pn-gccmakedep = "${SEPB}"
157B_pn-gconf = "${SEPB}"
158B_pn-gconf-native = "${SEPB}"
159B_pn-gdb = "${SEPB}"
160B_pn-gdb-cross = "${SEPB}"
161B_pn-gdb-cross-canadian-i586 = "${SEPB}"
162B_pn-gdbm = "${SEPB}"
163B_pn-gdbm-native = "${SEPB}"
164B_pn-gdk-pixbuf = "${SEPB}"
165B_pn-gdk-pixbuf-native = "${SEPB}"
166B_pn-genext2fs = "${SEPB}"
167B_pn-genext2fs-native = "${SEPB}"
168B_pn-gettext = "${SEPB}"
169B_pn-gettext-native = "${SEPB}"
170#checking for system lcms2 library... checking for cmsCreateXYZProfile in -llcms2... no
171#checking for local lcms library source... configure: error: LittleCMS source not found!
172#B_pn-ghostscript = "${SEPB}"
173#B_pn-ghostscript-native = "${SEPB}"
174# No out of tree build support (manual makefile)
175#B_pn-git = "${SEPB}"
176#B_pn-git-native = "${SEPB}"
177B_pn-glew = "${SEPB}"
178B_pn-glib-2.0 = "${SEPB}"
179B_pn-glib-2.0-native = "${SEPB}"
180B_pn-glib-networking = "${SEPB}"
181B_pn-glproto = "${SEPB}"
182B_pn-gmp = "${SEPB}"
183B_pn-gmp-native = "${SEPB}"
184B_pn-gnome-common = "${SEPB}"
185B_pn-gnome-common-native = "${SEPB}"
186B_pn-gnome-desktop = "${SEPB}"
187#B_pn-gnome-doc-utils = "${SEPB}"
188#B_pn-gnome-doc-utils-native = "${SEPB}"
189B_pn-gnome-icon-theme = "${SEPB}"
190B_pn-gnome-mime-data = "${SEPB}"
191B_pn-gnupg = "${SEPB}"
192## libtool: link: warning: library `.../usr/lib/libgcrypt.la' was moved.
193##B_pn-gnutls = "${SEPB}"
194B_pn-gnutls-native = "${SEPB}"
195B_pn-gperf = "${SEPB}"
196B_pn-gperf-native = "${SEPB}"
197B_pn-gpgme = "${SEPB}"
198B_pn-grep = "${SEPB}"
199B_pn-groff = "${SEPB}"
200B_pn-groff-native = "${SEPB}"
201B_pn-grub = "${SEPB}"
202B_pn-grub-efi-i586-native = "${SEPB}"
203B_pn-gsettings-desktop-schemas = "${SEPB}"
204#| ./config.status: line 2219: /media/build1/poky/build/tmp/work/i586-poky-linux/gst-ffmpeg/0.10.13-r4/build//media/build1/poky/build/tmp/work/i586-poky-linux/gst-ffmpeg/0.10.13-r4/gst-ffmpeg-0.10.13/gst-libs/ext/libav/configure: No such file or directory
205#| config.status: error: Failed to configure embedded Libav tree
206#B_pn-gst-ffmpeg = "${SEPB}"
207B_pn-gst-fluendo-mp3 = "${SEPB}"
208B_pn-gst-fluendo-mpegdemux = "${SEPB}"
209B_pn-gst-openmax = "${SEPB}"
210# Has races/confusion over file/symbolic link creation
211#B_pn-gst-plugin-bluetooth = "${SEPB}"
212B_pn-gst-plugins-bad = "${SEPB}"
213B_pn-gst-plugins-base = "${SEPB}"
214B_pn-gst-plugins-gl = "${SEPB}"
215B_pn-gst-plugins-good = "${SEPB}"
216B_pn-gst-plugins-ugly = "${SEPB}"
217B_pn-gstreamer = "${SEPB}"
218B_pn-gtk+ = "${SEPB}"
219B_pn-gtk+3 = "${SEPB}"
220B_pn-gtk-doc-stub = "${SEPB}"
221B_pn-gtk-doc-stub-native = "${SEPB}"
222B_pn-gtk-engines = "${SEPB}"
223##make[1]: *** No rule to make target `data/gtkrc', needed by `all-am'. Stop
224##B_pn-gtk-sato-engine = "${SEPB}"
225B_pn-guile = "${SEPB}"
226B_pn-guile-native = "${SEPB}"
227B_pn-gzip = "${SEPB}"
228B_pn-gzip-native = "${SEPB}"
229B_pn-harfbuzz = "${SEPB}"
230B_pn-harfbuzz-native = "${SEPB}"
231B_pn-help2man-native = "${SEPB}"
232## Hand coded makefiles don't support out-of-tree
233##B_pn-hicolor-icon-theme = "${SEPB}"
234B_pn-icon-naming-utils-native = "${SEPB}"
235B_pn-icu = "${SEPB}"
236B_pn-icu-native = "${SEPB}"
237B_pn-imake = "${SEPB}"
238B_pn-imake-native = "${SEPB}"
239B_pn-inputproto = "${SEPB}"
240B_pn-inputproto-native = "${SEPB}"
241B_pn-intltool = "${SEPB}"
242B_pn-intltool-native = "${SEPB}"
243B_pn-iptables = "${SEPB}"
244#B_pn-irda-utils = "${SEPB}"
245B_pn-jpeg = "${SEPB}"
246B_pn-jpeg-native = "${SEPB}"
247#B_pn-js = "${SEPB}"
248B_pn-json-glib = "${SEPB}"
249B_pn-kbd = "${SEPB}"
250B_pn-kbd-native = "${SEPB}"
251B_pn-kbproto = "${SEPB}"
252B_pn-kbproto-native = "${SEPB}"
253B_pn-kconfig-frontends = "${SEPB}"
254B_pn-kconfig-frontends-native = "${SEPB}"
255##kexec-tools-2.0.3/kexec/arch/ppc/Makefile:4: kexec/arch/ppc/libfdt/Makefile.libfdt: No such file or directory
256##B_pn-kexec-tools = "${SEPB}"
257B_pn-kmod = "${SEPB}"
258B_pn-kmod-native = "${SEPB}"
259B_pn-lame = "${SEPB}"
260B_pn-leafpad = "${SEPB}"
261B_pn-less = "${SEPB}"
262B_pn-liba52 = "${SEPB}"
263#| cat /media/build1/poky/build/tmp/work/i586-poky-linux/libarchive/2.8.5-r0/libarchive-2.8.5/libarchive/test/test_*.c | grep DEFINE_TEST > libarchive/test/list.h
264#| cat /media/build1/poky/build/tmp/work/i586-poky-linux/libarchive/2.8.5-r0/libarchive-2.8.5/tar/test/test_*.c | grep DEFINE_TEST > tar/test/list.h
265#| cat /media/build1/poky/build/tmp/work/i586-poky-linux/libarchive/2.8.5-r0/libarchive-2.8.5/cpio/test/test_*.c | grep DEFINE_TEST > cpio/test/list.h
266#| /bin/bash: tar/test/list.h: No such file or directory
267#| /bin/bash: libarchive/test/list.h: No such file or directory
268#| /bin/bash: cpio/test/list.h: No such file or directory
269#B_pn-libarchive = "${SEPB}"
270B_pn-libart-lgpl = "${SEPB}"
271B_pn-libassuan = "${SEPB}"
272B_pn-libatomics-ops = "${SEPB}"
273B_pn-libcgroup = "${SEPB}"
274B_pn-libcheck = "${SEPB}"
275B_pn-libcroco = "${SEPB}"
276B_pn-libdaemon = "${SEPB}"
277B_pn-libdmx = "${SEPB}"
278B_pn-libdrm = "${SEPB}"
279B_pn-libevent = "${SEPB}"
280B_pn-libexif = "${SEPB}"
281B_pn-libfakekey = "${SEPB}"
282B_pn-libffi = "${SEPB}"
283B_pn-libffi-native = "${SEPB}"
284##i586-poky-linux-libtool: link: cannot find the library `/media/build1/poky/build/tmp/work/i586-poky-linux/libfm/1.1.0-r0/libfm-1.1.0/src/actions/libfmactions.la' or unhandled argument `/media/build1/poky/build/tmp/work/i586-poky-linux/libfm/1.1.0-r0/libfm-1.1.0/src/actions/libfmactions.la'
285##B_pn-libfm = "${SEPB}"
286B_pn-libfontenc = "${SEPB}"
287B_pn-libfontenc-native = "${SEPB}"
288B_pn-libgcc = "${SEPB}"
289#B_pn-libgcrypt = "${SEPB}"
290#B_pn-libgcrypt-native = "${SEPB}"
291B_pn-libglade = "${SEPB}"
292B_pn-libglu = "${SEPB}"
293B_pn-libgpg-error = "${SEPB}"
294B_pn-libgpg-error-native = "${SEPB}"
295B_pn-libice = "${SEPB}"
296B_pn-libice-native = "${SEPB}"
297B_pn-libid3tag = "${SEPB}"
298B_pn-libidn = "${SEPB}"
299B_pn-libjson = "${SEPB}"
300B_pn-libksba = "${SEPB}"
301B_pn-libmad = "${SEPB}"
302B_pn-libmatchbox = "${SEPB}"
303B_pn-libmpc = "${SEPB}"
304B_pn-libmpc-native = "${SEPB}"
305# CMake Error: The source directory "[...]libmusicbrainz-5.0.1[...]/build" does not appear to contain CMakeLists.txt.
306#B_pn-libmusicbrainz = "${SEPB}"
307# Not automake and no support for out of tree
308#B_pn-libnewt = "${SEPB}"
309B_pn-libnfsidmap = "${SEPB}"
310# flex.real: could not create route/cls/ematch_grammar.c
311#B_pn-libnl = "${SEPB}"
312B_pn-libnss-mdns = "${SEPB}"
313B_pn-libogg = "${SEPB}"
314B_pn-liboil = "${SEPB}"
315B_pn-libomxil = "${SEPB}"
316B_pn-libowl = "${SEPB}"
317B_pn-libowl-av = "${SEPB}"
318B_pn-libpam = "${SEPB}"
319B_pn-libpcap = "${SEPB}"
320B_pn-libpciaccess = "${SEPB}"
321B_pn-libpcre = "${SEPB}"
322B_pn-libpcre-native = "${SEPB}"
323B_pn-libpng = "${SEPB}"
324B_pn-libpng-native = "${SEPB}"
325# Needs automatic support in cmake.bbclass
326#B_pn-libproxy = "${SEPB}"
327B_pn-libpthread-stubs = "${SEPB}"
328B_pn-libpthread-stubs-native = "${SEPB}"
329B_pn-librsvg = "${SEPB}"
330B_pn-librsvg-native = "${SEPB}"
331B_pn-libsamplerate0 = "${SEPB}"
332B_pn-libsdl = "${SEPB}"
333B_pn-libsm = "${SEPB}"
334B_pn-libsm-native = "${SEPB}"
335B_pn-libsndfile1 = "${SEPB}"
336B_pn-libsoup-2.4 = "${SEPB}"
337B_pn-libtasn1 = "${SEPB}"
338B_pn-libtasn1-native = "${SEPB}"
339B_pn-libtelepathy = "${SEPB}"
340B_pn-libtheora = "${SEPB}"
341B_pn-libtirpc = "${SEPB}"
342B_pn-libtool = "${SEPB}"
343B_pn-libtool-cross = "${SEPB}"
344B_pn-libtool-native = "${SEPB}"
345B_pn-libunique = "${SEPB}"
346B_pn-libunistring = "${SEPB}"
347B_pn-libunistring-native = "${SEPB}"
348B_pn-liburcu = "${SEPB}"
349B_pn-libusb1 = "${SEPB}"
350B_pn-libusb1-native = "${SEPB}"
351B_pn-libusb-compat = "${SEPB}"
352B_pn-libusb-compat-native = "${SEPB}"
353B_pn-libuser = "${SEPB}"
354B_pn-libva-intel-driver = "${SEPB}"
355B_pn-libvorbis = "${SEPB}"
356B_pn-libx11 = "${SEPB}"
357B_pn-libx11-diet = "${SEPB}"
358B_pn-libx11-native = "${SEPB}"
359B_pn-libxau = "${SEPB}"
360B_pn-libxau-native = "${SEPB}"
361B_pn-libxcalibrate = "${SEPB}"
362B_pn-libxcb = "${SEPB}"
363B_pn-libxcb-native = "${SEPB}"
364B_pn-libxcomposite = "${SEPB}"
365B_pn-libxcomposite-native = "${SEPB}"
366B_pn-libxcursor = "${SEPB}"
367B_pn-libxcursor-native = "${SEPB}"
368B_pn-libxdamage = "${SEPB}"
369B_pn-libxdamage-native = "${SEPB}"
370B_pn-libxdmcp = "${SEPB}"
371B_pn-libxdmcp-native = "${SEPB}"
372B_pn-libxext = "${SEPB}"
373B_pn-libxext-native = "${SEPB}"
374B_pn-libxfixes = "${SEPB}"
375B_pn-libxfixes-native = "${SEPB}"
376B_pn-libxfont = "${SEPB}"
377B_pn-libxfont-native = "${SEPB}"
378B_pn-libxft = "${SEPB}"
379B_pn-libxft-native = "${SEPB}"
380B_pn-libxi = "${SEPB}"
381B_pn-libxinerama = "${SEPB}"
382B_pn-libxkbcommon = "${SEPB}"
383B_pn-libxkbfile = "${SEPB}"
384B_pn-libxkbfile-native = "${SEPB}"
385B_pn-libxml2 = "${SEPB}"
386B_pn-libxml2-native = "${SEPB}"
387B_pn-libxmu = "${SEPB}"
388B_pn-libxmu-native = "${SEPB}"
389B_pn-libxpm = "${SEPB}"
390B_pn-libxpm-native = "${SEPB}"
391B_pn-libxrandr = "${SEPB}"
392B_pn-libxrandr-native = "${SEPB}"
393B_pn-libxrender = "${SEPB}"
394B_pn-libxrender-native = "${SEPB}"
395B_pn-libxres = "${SEPB}"
396B_pn-libxscrnsaver = "${SEPB}"
397B_pn-libxsettings-client = "${SEPB}"
398B_pn-libxslt = "${SEPB}"
399B_pn-libxslt-native = "${SEPB}"
400B_pn-libxt = "${SEPB}"
401B_pn-libxt-native = "${SEPB}"
402B_pn-libxtst = "${SEPB}"
403B_pn-libxv = "${SEPB}"
404B_pn-libxvmc = "${SEPB}"
405B_pn-libxxf86dga = "${SEPB}"
406B_pn-libxxf86misc = "${SEPB}"
407B_pn-libxxf86vm = "${SEPB}"
408B_pn-lighttpd = "${SEPB}"
409# Doesn't use automake so no separate build support
410#B_pn-linuxdoc-tools-native = "${SEPB}"
411B_pn-lrzsz = "${SEPB}"
412# Doesn't use automake
413#B_pn-ltp = "${SEPB}"
414##/media/build1/poky/build1/tmp/work/i586-poky-linux/lttng-tools/v2.1.0-r0/git/tests/tools/health/health_check.c:20:25: fatal error: lttng/lttng.h: No such file or directory
415##B_pn-lttng-tools = "${SEPB}"
416B_pn-lttng-ust = "${SEPB}"
417B_pn-lzo = "${SEPB}"
418B_pn-lzo-native = "${SEPB}"
419B_pn-lzop = "${SEPB}"
420B_pn-lzop-native = "${SEPB}"
421B_pn-m4 = "${SEPB}"
422B_pn-m4-native = "${SEPB}"
423# Makefile only, no out of tree support
424#B_pn-mailx = "${SEPB}"
425B_pn-make = "${SEPB}"
426B_pn-makedepend = "${SEPB}"
427B_pn-makedepend-native = "${SEPB}"
428B_pn-make-native = "${SEPB}"
429B_pn-matchbox-config-gtk = "${SEPB}"
430B_pn-matchbox-desktop = "${SEPB}"
431B_pn-matchbox-desktop-sato = "${SEPB}"
432B_pn-matchbox-keyboard = "${SEPB}"
433B_pn-matchbox-panel-2 = "${SEPB}"
434B_pn-matchbox-terminal = "${SEPB}"
435B_pn-matchbox-theme-sato = "${SEPB}"
436B_pn-matchbox-wm = "${SEPB}"
437B_pn-mc = "${SEPB}"
438#makefile only, no out of tree support
439#B_pn-mdadm = "${SEPB}"
440B_pn-menu-cache = "${SEPB}"
441B_pn-mesa-demos = "${SEPB}"
442# src/mapi/mapi/stub.c:51:39: error: 'MAPI_TABLE_NUM_DYNAMIC' undeclared here (not in a function)
443B_pn-mesa = "${SEPB}"
444B_pn-mesa-gl = "${SEPB}"
445B_pn-minicom = "${SEPB}"
446# Not automake, no external tree support
447#B_pn-mkelfimage = "${SEPB}"
448#B_pn-mkelfimage-native = "${SEPB}"
449B_pn-mkfontdir = "${SEPB}"
450B_pn-mkfontdir-native = "${SEPB}"
451B_pn-mkfontscale = "${SEPB}"
452B_pn-mkfontscale-native = "${SEPB}"
453B_pn-mklibs-native = "${SEPB}"
454B_pn-mktemp = "${SEPB}"
455B_pn-mobile-broadband-provider-info = "${SEPB}"
456B_pn-mpeg2dec = "${SEPB}"
457B_pn-mpfr = "${SEPB}"
458B_pn-mpfr-native = "${SEPB}"
459B_pn-msmtp = "${SEPB}"
460B_pn-mtdev = "${SEPB}"
461B_pn-mtools = "${SEPB}"
462B_pn-mtools-native = "${SEPB}"
463B_pn-mx = "${SEPB}"
464# /media/build1/poky/build1/tmp/work/x86_64-linux/nasm-native/2.10.07-r0/nasm-2.10.07/compiler.h:47:21: fatal error: config.h: No such file or directory
465#B_pn-nasm = "${SEPB}"
466#B_pn-nasm-native = "${SEPB}"
467B_pn-nativesdk-alsa-lib = "${SEPB}"
468B_pn-nativesdk-autoconf = "${SEPB}"
469B_pn-nativesdk-automake = "${SEPB}"
470B_pn-nativesdk-bash = "${SEPB}"
471B_pn-nativesdk-bdwgc = "${SEPB}"
472B_pn-nativesdk-bigreqsproto = "${SEPB}"
473B_pn-nativesdk-bison = "${SEPB}"
474B_pn-nativesdk-bzip2 = "${SEPB}"
475B_pn-nativesdk-chrpath = "${SEPB}"
476B_pn-nativesdk-cmake = "${SEPB}"
477B_pn-nativesdk-curl = "${SEPB}"
478B_pn-nativesdk-db = "${SEPB}"
479B_pn-nativesdk-dbus = "${SEPB}"
480## Makefile based not autotools
481##B_pn-nativesdk-dtc = "${SEPB}"
482B_pn-nativesdk-eglibc = "${SEPB}"
483B_pn-nativesdk-eglibc-initial = "${SEPB}"
484B_pn-nativesdk-elfutils = "${SEPB}"
485B_pn-nativesdk-expat = "${SEPB}"
486B_pn-nativesdk-fixesproto = "${SEPB}"
487B_pn-nativesdk-flex = "${SEPB}"
488B_pn-nativesdk-gcc-runtime = "${SEPB}"
489B_pn-nativesdk-gdbm = "${SEPB}"
490B_pn-nativesdk-genext2fs = "${SEPB}"
491B_pn-nativesdk-gettext = "${SEPB}"
492B_pn-nativesdk-glib-2.0 = "${SEPB}"
493B_pn-nativesdk-glproto = "${SEPB}"
494B_pn-nativesdk-gmp = "${SEPB}"
495B_pn-nativesdk-inputproto = "${SEPB}"
496B_pn-nativesdk-kbproto = "${SEPB}"
497#B_pn-nativesdk-libarchive = "${SEPB}"
498B_pn-nativesdk-libffi = "${SEPB}"
499B_pn-nativesdk-libgcc = "${SEPB}"
500B_pn-nativesdk-libmpc = "${SEPB}"
501B_pn-nativesdk-libpcre = "${SEPB}"
502B_pn-nativesdk-libpng = "${SEPB}"
503B_pn-nativesdk-libpthread-stubs = "${SEPB}"
504B_pn-nativesdk-libsdl = "${SEPB}"
505B_pn-nativesdk-libtool = "${SEPB}"
506B_pn-nativesdk-libunistring = "${SEPB}"
507B_pn-nativesdk-libusb1 = "${SEPB}"
508B_pn-nativesdk-libusb-compat = "${SEPB}"
509B_pn-nativesdk-libx11 = "${SEPB}"
510B_pn-nativesdk-libxau = "${SEPB}"
511B_pn-nativesdk-libxcb = "${SEPB}"
512B_pn-nativesdk-libxdmcp = "${SEPB}"
513B_pn-nativesdk-libxext = "${SEPB}"
514B_pn-nativesdk-libxfixes = "${SEPB}"
515B_pn-nativesdk-libxml2 = "${SEPB}"
516B_pn-nativesdk-libxrandr = "${SEPB}"
517B_pn-nativesdk-libxrender = "${SEPB}"
518B_pn-nativesdk-lzo = "${SEPB}"
519B_pn-nativesdk-lzop = "${SEPB}"
520B_pn-nativesdk-m4 = "${SEPB}"
521B_pn-nativesdk-mpfr = "${SEPB}"
522B_pn-nativesdk-ncurses = "${SEPB}"
523B_pn-nativesdk-opkg = "${SEPB}"
524B_pn-nativesdk-pixman = "${SEPB}"
525B_pn-nativesdk-pkgconfig = "${SEPB}"
526# run.do_compile: 89: cd: can't cd to Lib/plat-linux2
527#B_pn-nativesdk-python = "${SEPB}"
528##B_pn-nativesdk-qemu = "${SEPB}"
529B_pn-nativesdk-randrproto = "${SEPB}"
530B_pn-nativesdk-readline = "${SEPB}"
531B_pn-nativesdk-renderproto = "${SEPB}"
532B_pn-nativesdk-sqlite3 = "${SEPB}"
533B_pn-nativesdk-systemtap = "${SEPB}"
534# Not automake, no out of tree build support
535#B_pn-nativesdk-unfs-server = "${SEPB}"
536B_pn-nativesdk-util-macros = "${SEPB}"
537B_pn-nativesdk-xcb-proto = "${SEPB}"
538B_pn-nativesdk-xcmiscproto = "${SEPB}"
539B_pn-nativesdk-xextproto = "${SEPB}"
540B_pn-nativesdk-xproto = "${SEPB}"
541B_pn-nativesdk-xtrans = "${SEPB}"
542B_pn-ncurses = "${SEPB}"
543B_pn-ncurses-native = "${SEPB}"
544B_pn-neon = "${SEPB}"
545B_pn-neon-native = "${SEPB}"
546##Weird as configure exits with error code despite apparent success
547##B_pn-nfs-utils = "${SEPB}"
548B_pn-npth = "${SEPB}"
549#B_pn-nspr = "${SEPB}"
550B_pn-ofono = "${SEPB}"
551B_pn-oh-puzzles = "${SEPB}"
552## make[2]: openjade-1.3.2/grove/../Makefile.comm: No such file or directory
553##B_pn-openjade-native = "${SEPB}"
554B_pn-opensp = "${SEPB}"
555B_pn-opensp-native = "${SEPB}"
556##/media/build1/poky/build1/tmp/work/i586-poky-linux/openssh/6.1p1-r0/openssh-6.1p1/configure: line 5674: syntax error near unexpected token `-Wall'
557##/media/build1/poky/build1/tmp/work/i586-poky-linux/openssh/6.1p1-r0/openssh-6.1p1/configure: line 5674: ` OSSH_CHECK_CFLAG_COMPILE(-Wall)'
558##Configure failed. The contents of all config.log files follows to aid debugging
559#B_pn-openssh = "${SEPB}"
560B_pn-openvpn = "${SEPB}"
561B_pn-opkg = "${SEPB}"
562B_pn-opkg-native = "${SEPB}"
563#B_pn-oprofile = "${SEPB}"
564B_pn-oprofileui = "${SEPB}"
565B_pn-oprofileui-server = "${SEPB}"
566B_pn-ossp-uuid = "${SEPB}"
567B_pn-ossp-uuid-native = "${SEPB}"
568B_pn-owl-video = "${SEPB}"
569B_pn-pango = "${SEPB}"
570B_pn-pango-native = "${SEPB}"
571B_pn-parted = "${SEPB}"
572B_pn-parted-native = "${SEPB}"
573B_pn-patch = "${SEPB}"
574B_pn-pax = "${SEPB}"
575B_pn-pcmanfm = "${SEPB}"
576B_pn-pixman = "${SEPB}"
577B_pn-pixman-native = "${SEPB}"
578B_pn-pkgconfig = "${SEPB}"
579B_pn-pkgconfig-native = "${SEPB}"
580B_pn-pm-utils = "${SEPB}"
581B_pn-polkit = "${SEPB}"
582B_pn-polkit-gnome = "${SEPB}"
583B_pn-popt = "${SEPB}"
584B_pn-popt-native = "${SEPB}"
585#B_pn-ppp = "${SEPB}"
586B_pn-prelink = "${SEPB}"
587B_pn-prelink-native = "${SEPB}"
588# Makefile only, no out of tree support
589#B_pn-procps = "${SEPB}"
590B_pn-psmisc = "${SEPB}"
591B_pn-psplash = "${SEPB}"
592B_pn-pth = "${SEPB}"
593B_pn-pulseaudio = "${SEPB}"
594#B_pn-python = "${SEPB}"
595B_pn-python-dbus = "${SEPB}"
596B_pn-python-gst = "${SEPB}"
597B_pn-python-native = "${SEPB}"
598B_pn-python-pygobject = "${SEPB}"
599B_pn-python-pygobject-native = "${SEPB}"
600B_pn-python-pygtk = "${SEPB}"
601## Not autotools
602##B_pn-qemu = "${SEPB}"
603##B_pn-qemu-native = "${SEPB}"
604##| /bin/bash: ./git-desc: No such file or directory
605##| /usr/bin/find: `compat': No such file or directory
606##| /bin/bash: /media/build1/poky/build1/tmp/work/x86_64-linux/quilt-native/0.60-r0/build/test/test.quiltrc: No such file or directory
607##| make: *** No rule to make target `Makefile.in', needed by `Makefile'. Stop.
608##B_pn-quilt = "${SEPB}"
609##B_pn-quilt-native = "${SEPB}"
610#B_pn-quota = "${SEPB}"
611B_pn-randrproto = "${SEPB}"
612B_pn-randrproto-native = "${SEPB}"
613B_pn-readline = "${SEPB}"
614B_pn-readline-native = "${SEPB}"
615B_pn-recordproto = "${SEPB}"
616B_pn-remake = "${SEPB}"
617B_pn-remake-native = "${SEPB}"
618B_pn-renderproto = "${SEPB}"
619B_pn-renderproto-native = "${SEPB}"
620B_pn-resourceproto = "${SEPB}"
621B_pn-rgb = "${SEPB}"
622B_pn-rpcbind = "${SEPB}"
623B_pn-rpm = "${SEPB}"
624B_pn-rpm-native = "${SEPB}"
625B_pn-rsync = "${SEPB}"
626B_pn-rxvt-unicode = "${SEPB}"
627B_pn-sato-icon-theme = "${SEPB}"
628B_pn-sato-screenshot = "${SEPB}"
629B_pn-sbc = "${SEPB}"
630B_pn-screen = "${SEPB}"
631B_pn-scrnsaverproto = "${SEPB}"
632B_pn-sed = "${SEPB}"
633B_pn-sed-native = "${SEPB}"
634# Wierd out of tree support, could probably be fixed
635#i586-poky-linux-gcc: error: setserial.c: No such file or directory
636#i586-poky-linux-gcc: fatal error: no input files
637#compilation terminated.
638#B_pn-setserial = "${SEPB}"
639B_pn-settings-daemon = "${SEPB}"
640B_pn-sgml-common = "${SEPB}"
641B_pn-sgml-common-native = "${SEPB}"
642B_pn-shadow = "${SEPB}"
643B_pn-shadow-native = "${SEPB}"
644B_pn-shared-mime-info = "${SEPB}"
645B_pn-shared-mime-info-native = "${SEPB}"
646##configure: error: "This software does not support configuring from another directory. See the INSTALL file"
647##B_pn-slang = "${SEPB}"
648B_pn-socat = "${SEPB}"
649B_pn-speex = "${SEPB}"
650B_pn-sqlite3 = "${SEPB}"
651B_pn-sqlite3-native = "${SEPB}"
652B_pn-startup-notification = "${SEPB}"
653B_pn-strace = "${SEPB}"
654B_pn-strace-native = "${SEPB}"
655B_pn-subversion = "${SEPB}"
656B_pn-subversion-native = "${SEPB}"
657B_pn-sudo = "${SEPB}"
658B_pn-sysfsutils = "${SEPB}"
659B_pn-sysprof = "${SEPB}"
660# No automake, no separate build support
661#B_pn-sysstat = "${SEPB}"
662B_pn-systemd = "${SEPB}"
663B_pn-systemtap = "${SEPB}"
664B_pn-systemtap-native = "${SEPB}"
665B_pn-tar = "${SEPB}"
666B_pn-tar-replacement-native = "${SEPB}"
667B_pn-tcl = "${SEPB}"
668B_pn-tcl-native = "${SEPB}"
669B_pn-telepathy-glib = "${SEPB}"
670B_pn-telepathy-idle = "${SEPB}"
671B_pn-telepathy-mission-control = "${SEPB}"
672B_pn-telepathy-python = "${SEPB}"
673B_pn-texi2html = "${SEPB}"
674B_pn-texinfo = "${SEPB}"
675B_pn-texinfo-native = "${SEPB}"
676B_pn-tiff = "${SEPB}"
677B_pn-tiff-native = "${SEPB}"
678B_pn-time = "${SEPB}"
679B_pn-tremor = "${SEPB}"
680B_pn-tslib = "${SEPB}"
681B_pn-udev = "${SEPB}"
682# Not automake, no out of tree build support
683#B_pn-unfs-server-native = "${SEPB}"
684B_pn-usbutils = "${SEPB}"
685B_pn-util-linux = "${SEPB}"
686B_pn-util-linux-native = "${SEPB}"
687B_pn-util-macros = "${SEPB}"
688B_pn-util-macros-native = "${SEPB}"
689B_pn-valgrind = "${SEPB}"
690B_pn-videoproto = "${SEPB}"
691B_pn-vte = "${SEPB}"
692B_pn-watchdog = "${SEPB}"
693B_pn-wayland = "${SEPB}"
694B_pn-wayland-native = "${SEPB}"
695# Not even going there
696#B_pn-webkit-gtk = "${SEPB}"
697B_pn-weston = "${SEPB}"
698B_pn-wget = "${SEPB}"
699B_pn-which = "${SEPB}"
700B_pn-x11perf = "${SEPB}"
701#B_pn-x11vnc = "${SEPB}"
702B_pn-xauth = "${SEPB}"
703B_pn-xcb-proto = "${SEPB}"
704B_pn-xcb-proto-native = "${SEPB}"
705B_pn-xcb-util = "${SEPB}"
706B_pn-xcb-util-image = "${SEPB}"
707B_pn-xcb-util-keysyms = "${SEPB}"
708B_pn-xcb-util-renderutil = "${SEPB}"
709B_pn-xcb-util-wm = "${SEPB}"
710B_pn-xcmiscproto = "${SEPB}"
711B_pn-xcmiscproto-native = "${SEPB}"
712B_pn-xcursor-transparent-theme = "${SEPB}"
713# No out of tree support, no automake
714#/usr/bin/install: cannot stat `xdg-desktop-menu': No such file or directory
715#/usr/bin/install: cannot stat `xdg-desktop-icon': No such file or directory
716#/usr/bin/install: cannot stat `xdg-mime': No such file or directory
717#/usr/bin/install: cannot stat `xdg-icon-resource': No such file or directory
718#/usr/bin/install: cannot stat `xdg-open': No such file or directory
719#/usr/bin/install: cannot stat `xdg-email': No such file or directory
720#/usr/bin/install: cannot stat `xdg-screensaver': No such file or directory
721#make[1]: *** [install] Error 1
722#Probably fixable
723#B_pn-xdg-utils = "${SEPB}"
724B_pn-xdpyinfo = "${SEPB}"
725B_pn-xev = "${SEPB}"
726B_pn-xextproto = "${SEPB}"
727B_pn-xextproto-native = "${SEPB}"
728B_pn-xeyes = "${SEPB}"
729B_pn-xf86dgaproto = "${SEPB}"
730B_pn-xf86driproto = "${SEPB}"
731B_pn-xf86-input-evdev = "${SEPB}"
732B_pn-xf86-input-keyboard = "${SEPB}"
733B_pn-xf86-input-mouse = "${SEPB}"
734B_pn-xf86-input-synaptics = "${SEPB}"
735B_pn-xf86-input-vmmouse = "${SEPB}"
736B_pn-xf86miscproto = "${SEPB}"
737B_pn-xf86-video-fbdev = "${SEPB}"
738B_pn-xf86-video-imxfb = "${SEPB}"
739B_pn-xf86-video-intel = "${SEPB}"
740B_pn-xf86-video-mga = "${SEPB}"
741B_pn-xf86-video-modesetting = "${SEPB}"
742B_pn-xf86-video-omap = "${SEPB}"
743B_pn-xf86-video-omapfb = "${SEPB}"
744B_pn-xf86-video-vesa = "${SEPB}"
745B_pn-xf86-video-vmware = "${SEPB}"
746B_pn-xf86vidmodeproto = "${SEPB}"
747B_pn-xhost = "${SEPB}"
748B_pn-xineramaproto = "${SEPB}"
749B_pn-xinetd = "${SEPB}"
750B_pn-xinit = "${SEPB}"
751B_pn-xinput = "${SEPB}"
752B_pn-xkbcomp = "${SEPB}"
753B_pn-xkbcomp-native = "${SEPB}"
754B_pn-xkeyboard-config = "${SEPB}"
755B_pn-xmodmap = "${SEPB}"
756B_pn-xorg-cf-files = "${SEPB}"
757B_pn-xorg-cf-files-native = "${SEPB}"
758B_pn-xprop = "${SEPB}"
759B_pn-xproto = "${SEPB}"
760B_pn-xproto-native = "${SEPB}"
761B_pn-xrandr = "${SEPB}"
762B_pn-xrestop = "${SEPB}"
763B_pn-xserver-xorg = "${SEPB}"
764B_pn-xset = "${SEPB}"
765B_pn-xtrans = "${SEPB}"
766B_pn-xtrans-native = "${SEPB}"
767B_pn-xtscal = "${SEPB}"
768B_pn-xvideo-tests = "${SEPB}"
769B_pn-xvinfo = "${SEPB}"
770B_pn-xwininfo = "${SEPB}"
771B_pn-xz = "${SEPB}"
772B_pn-xz-native = "${SEPB}"
773B_pn-yasm = "${SEPB}"
774B_pn-yasm-native = "${SEPB}"
775B_pn-zaurusd = "${SEPB}"
776
777# Recipes that cannot by design use a separate build directory:
778# wpa-supplicant
diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc
new file mode 100644
index 0000000000..15f5ee5a30
--- /dev/null
+++ b/meta/conf/distro/include/tclibc-eglibc.inc
@@ -0,0 +1,40 @@
1#
2# eglibc specific configuration
3#
4
5LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}"
6
7# Add glibc overrides to the overrides for eglibc.
8LIBCOVERRIDE = ":libc-glibc"
9OVERRIDES .= "${LIBCOVERRIDE}"
10
11PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
12PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc"
13PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-eglibc"
14PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
15PREFERRED_PROVIDER_virtual/libc ?= "eglibc"
16PREFERRED_PROVIDER_virtual/nativesdk-libc ?= "nativesdk-eglibc"
17PREFERRED_PROVIDER_virtual/libc-locale ?= "eglibc-locale"
18
19CXXFLAGS += "-fvisibility-inlines-hidden"
20
21LIBC_DEPENDENCIES = "libsegfault \
22 eglibc \
23 eglibc-dbg \
24 eglibc-dev \
25 eglibc-utils \
26 eglibc-thread-db \
27 ${@get_libc_locales_dependencies(d)}"
28
29LIBC_LOCALE_DEPENDENCIES = "\
30 eglibc-localedata-i18n \
31 eglibc-gconv-ibm850 \
32 eglibc-gconv-cp1252 \
33 eglibc-gconv-iso8859-1 \
34 eglibc-gconv-iso8859-15"
35
36def get_libc_locales_dependencies(d):
37 if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() :
38 return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or ''
39 else:
40 return ''
diff --git a/meta/conf/distro/include/tclibc-uclibc.inc b/meta/conf/distro/include/tclibc-uclibc.inc
new file mode 100644
index 0000000000..9245112d10
--- /dev/null
+++ b/meta/conf/distro/include/tclibc-uclibc.inc
@@ -0,0 +1,28 @@
1#
2# uclibc specific configuration
3#
4
5LIBCEXTENSION = "-uclibc"
6
7# Add uclibc overrides to the overrides.
8LIBCOVERRIDE = ":libc-uclibc"
9OVERRIDES .= "${LIBCOVERRIDE}"
10
11PREFERRED_PROVIDER_virtual/libc = "uclibc"
12PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv"
13PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
14PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-eglibc"
15PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc"
16
17USE_NLS ?= "no"
18
19CXXFLAGS += "-fvisibility-inlines-hidden"
20
21IMAGE_LINGUAS = ""
22
23LIBC_DEPENDENCIES = "\
24 uclibc \
25 uclibc-dbg \
26 uclibc-dev \
27 uclibc-thread-db \
28 "
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
new file mode 100644
index 0000000000..fb41d5e1f7
--- /dev/null
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -0,0 +1,60 @@
1#
2# Default toolchain configuration
3#
4
5PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross"
6PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial"
7PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-cross-intermediate"
8PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross"
9PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross"
10PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime"
11PREFERRED_PROVIDER_gdb = "gdb"
12
13# Default libc config
14PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}"
15PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?= "nativesdk-${TCLIBC}"
16PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"
17PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial = "nativesdk-${TCLIBC}-initial"
18PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
19
20GCCVERSION ?= "4.8%"
21SDKGCCVERSION ?= "${GCCVERSION}"
22BINUVERSION ?= "2.23.2"
23EGLIBCVERSION ?= "2.18"
24UCLIBCVERSION ?= "0.9.33+git%"
25LINUXLIBCVERSION ?= "3.10"
26
27PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
28PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}"
29PREFERRED_VERSION_gcc-cross-initial ?= "${GCCVERSION}"
30PREFERRED_VERSION_gcc-cross-intermediate ?= "${GCCVERSION}"
31PREFERRED_VERSION_gcc-crosssdk ?= "${SDKGCCVERSION}"
32PREFERRED_VERSION_gcc-crosssdk-initial ?= "${SDKGCCVERSION}"
33PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "${SDKGCCVERSION}"
34PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}"
35PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
36PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}"
37PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"
38PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}"
39PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
40PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}"
41PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}"
42PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
43PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
44PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}"
45PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}"
46PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}"
47PREFERRED_VERSION_nativesdk-eglibc ?= "${EGLIBCVERSION}"
48PREFERRED_VERSION_eglibc-initial ?= "${EGLIBCVERSION}"
49PREFERRED_VERSION_nativesdk-eglibc-initial ?= "${EGLIBCVERSION}"
50PREFERRED_VERSION_cross-localedef-native ?= "${EGLIBCVERSION}"
51PREFERRED_VERSION_uclibc ?= "${UCLIBCVERSION}"
52PREFERRED_VERSION_uclibc-initial ?= "${UCLIBCVERSION}"
53PREFERRED_VERSION_elfutils ?= "0.148"
54# don't use version earlier than 1.4 for gzip-native, as it's necessary for
55# some packages using an archive format incompatible with earlier gzip
56PREFERRED_VERSION_gzip-native ?= "1.6"
57
58# Setup suitable toolchain flags
59require conf/distro/include/as-needed.inc
60
diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc
new file mode 100644
index 0000000000..9e530ab1e7
--- /dev/null
+++ b/meta/conf/distro/include/tcmode-external-csl.inc
@@ -0,0 +1,2 @@
1TCMODE = "external-sourcery"
2require 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
new file mode 100644
index 0000000000..5590f7a1e9
--- /dev/null
+++ b/meta/conf/distro/include/tcmode-external-sourcery.inc
@@ -0,0 +1,128 @@
1#
2# Configuration to use external Sourcery G++ toolchain
3#
4
5EXTERNAL_TOOLCHAIN ?= "/usr/local/csl/${TARGET_ARCH}"
6
7TOOLCHAIN_PATH_ADD = "${EXTERNAL_TOOLCHAIN}/bin:"
8PATH =. "${TOOLCHAIN_PATH_ADD}"
9
10CSL_TARGET_SYS_powerpc ?= "powerpc-linux-gnu"
11CSL_TARGET_SYS_powerpc64 ?= "powerpc-linux-gnu"
12CSL_TARGET_SYS_arm ?= "arm-none-linux-gnueabi"
13CSL_TARGET_SYS_mips ?= "mips-linux-gnu"
14CSL_TARGET_SYS_mipsel ?= "mips-linux-gnu"
15CSL_TARGET_SYS_mips64 ?= "mips-linux-gnu"
16CSL_TARGET_SYS_i686 ?= "i686-pc-linux-gnu"
17CSL_TARGET_SYS_i586 ?= "i686-pc-linux-gnu"
18CSL_TARGET_SYS = "${TARGET_SYS}"
19
20TARGET_PREFIX = "${CSL_TARGET_SYS}-"
21
22PREFERRED_PROVIDER_linux-libc-headers = "external-sourcery-toolchain"
23PREFERRED_PROVIDER_linux-libc-headers-dev = "external-sourcery-toolchain"
24PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "external-sourcery-toolchain"
25PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "external-sourcery-toolchain"
26PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "external-sourcery-toolchain"
27PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "external-sourcery-toolchain"
28PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "external-sourcery-toolchain"
29PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "external-sourcery-toolchain"
30PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "external-sourcery-toolchain"
31PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "external-sourcery-toolchain"
32PREFERRED_PROVIDER_libgcc = "external-sourcery-toolchain"
33PREFERRED_PROVIDER_eglibc = "external-sourcery-toolchain"
34PREFERRED_PROVIDER_virtual/libc = "external-sourcery-toolchain"
35PREFERRED_PROVIDER_virtual/libintl = "external-sourcery-toolchain"
36PREFERRED_PROVIDER_virtual/libiconv = "external-sourcery-toolchain"
37PREFERRED_PROVIDER_glibc-thread-db = "external-sourcery-toolchain"
38PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-sourcery-toolchain"
39PREFERRED_PROVIDER_virtual/linux-libc-headers-dev = "external-sourcery-toolchain"
40PREFERRED_PROVIDER_gdbserver ??= "external-sourcery-toolchain"
41
42# No need to re-compile the locale files
43GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled"
44ENABLE_BINARY_LOCALE_GENERATION = ""
45
46TOOLCHAIN_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
50def 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
56EXTERNAL_TOOLCHAIN_SYSROOT_CMD = "${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} -print-sysroot"
57EXTERNAL_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.
62TUNE_CCARGS_append_x86 = " -msgxx-glibc"
63
64CSL_MULTILIB_ARGS[ppce500] ?= "-te500v1"
65CSL_MULTILIB_ARGS[ppce500mc] ?= "-te500mc"
66CSL_MULTILIB_ARGS[ppce500v2] ?= "-te500v2"
67CSL_MULTILIB_ARGS[ppce600] ?= "-te600"
68
69def 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
76EXTERNAL_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
84python 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}
92addhandler toolchain_metadata_setup
93toolchain_metadata_setup[eventmask] = "bb.event.ConfigParsed"
94
95python toolchain_setup () {
96 d = e.data
97
98 if not d.getVar('TOOLCHAIN_PATH_ADD', True):
99 populate_toolchain_links(d)
100}
101addhandler toolchain_setup
102toolchain_setup[eventmask] = "bb.event.BuildStarted"
103
104def 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
128require conf/distro/include/csl-versions.inc
diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/include/world-broken.inc
new file mode 100644
index 0000000000..ab0c2dc863
--- /dev/null
+++ b/meta/conf/distro/include/world-broken.inc
@@ -0,0 +1,5 @@
1#
2# Exclude known broken packages
3#
4
5