29 Commits

Author SHA1 Message Date
Christopher Larson
a81f04f908 Convert to new overrides syntax for honister
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-01 16:38:22 +00:00
Christopher Larson
39a546d78d gcc: obey EXTERNAL_ENABLED in the bbappend
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 12:17:36 -07:00
Christopher Larson
8964172347 Silence gdbserver preference warnings in multilib builds
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-05-10 16:32:06 +00:00
Christopher Larson
60667c36c2 gdb: fix missing mlprefix for gdbserver pref
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-05-09 19:43:52 +00:00
Christopher Larson
537bc233f7 Various: leverage the tcmode overrides
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15 01:53:51 +05:00
Christopher Larson
fd7916fa83 gcc: drop TARGET_SYS workaround
This is no longer needed, as the external toolchain no longer sets
TARGET_PREFIX.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-09 08:00:43 +05:00
Christopher Larson
842520827f binutils-cross: install non-prefixed links for gcc
This will install, for example, a 'ld.gold' symlink in
STAGING_BINDIR_TOOLCHAIN/gcc, which we can then allow gcc to get to.
This makes it possible to rebuild just binutils-cross and use everything
else from an external toolchain, which can be useful to get ahold of
ld.gold when the external toolchain doesn't provide it.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-03 01:19:59 +05:00
Christopher Larson
43b02b6887 gdb: use oe.utils.str_filter_out
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-01 01:36:32 +05:00
Christopher Larson
c51ffb6e2a gcc: align TARGET_SYS and TARGET_PREFIX
Align TARGET_SYS and TARGET_PREFIX to avoid binary links which include both:

    WARNING: gcc-6.2.0-r0 do_package: QA Issue: gcc: Files/directories were installed but not shipped in any package:
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-nm
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-ranlib
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-g++
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-ar

Moved from meta-mentor.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-11-30 02:02:00 +05:00
Christopher Larson
288987d8f4 gdb: add fallback preference
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-11-23 03:31:14 +05:00
Christopher Larson
6160b16947 Update for sourcery -> external-toolchain layer name
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 10:09:17 +05:00
Christopher Larson
095582c295 python3: move into core area
This layer focuses on new recipes, so make it clear where the appends are by
isolating them, even for oe-core.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 08:47:08 +05:00
Drew Moseley
e836579be2 gdb: Conditionally provide gdbserver
Avoid providing "gdbserver" if PREFERRED_PROVIDER is set to
external-sourcery or some other package which also provides it.  This
avoids "Multiple Provider" warnings.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-01-04 15:52:13 -07:00
Christopher Larson
b56cf21d51 libgcc,gcc-runtime: align TARGET_SYS/EXTERNAL_TARGET_SYS
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-14 09:15:52 -07:00
Christopher Larson
e890f1c457 gcc: don't pull unwind.h from cross sysroot
libgcc-external provides this.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-07 11:19:54 -07:00
Christopher Larson
0beb66b376 Split up external-sourcery-toolchain into separate recipes
common-license.bbclass will set LIC_FILES_CHKSUM to a common license file
based on LICENSE, which is appropriate for a case where we have no sources to
refer to.
external-toolchain.bbclass, among other things, handles extraction of files in
the external toolchain sysroot, based on patterns in the FILES variables,
checking alternate locations to better support any arbitrary toolchain, and
has basic mirror handling for checking multiple paths within the sysroots.

Under normal circumstances, I'd want this to use highly granular commits, but
this branch has been extremely long lived (>1yr) and is such an invasive
refactoring that attempting to break it down now would be of limited
usefulness.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-19 10:35:25 -07:00
Christopher Larson
3d98fcfbc5 gdb: 7.7.1 -> %
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-16 08:47:04 -07:00
Christopher Larson
6a9f8597dd python: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:30 -07:00
Christopher Larson
dd69595447 ossp-uuid: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:29 -07:00
Christopher Larson
0cb45b27a0 perl: drop, upstream fixed it differently
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:29 -07:00
Christopher Larson
7da3dffbed gdb: 7.7 -> 7.7.1
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-07-21 16:19:51 -07:00
Christopher Larson
66a4093609 perl: 5.14.3 -> 5.20.0
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-07-21 14:38:31 -07:00
Christopher Larson
6b3b4385e4 Merge remote-tracking branch 'origin/release/2014.05'
* origin/release/2014.05:
  tcmode: obey MGLS_LICENSE_FILE, not MGLS
  testfloat: obey LDFLAGS
  ossp-uuid: obey LDFLAGS
  boot-format: obey LDFLAGS
  tcmode: don't use BB_HASHBASE_WHITELIST_append
  tcmode: use /tmp/sourcery-$LOGNAME for TMPDIR
  external-sourcery-toolchain: Error out if libc.so does not exist
  external-sourcery-toolchain: Package libinproctrace library.
  external-sourcery-toolchain: Fix installation of lib/locale.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>

Conflicts:
	conf/distro/include/tcmode-external-sourcery.inc
2014-07-14 14:01:34 -07:00
Christopher Larson
b54e2f2e0d ossp-uuid: obey LDFLAGS
Quiets a GNU_HASH warning.

JIRA: SB-3120

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-06-23 10:33:19 -07:00
Christopher Larson
f94f014885 gdb: 7.6.2 -> 7.7
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-05-03 20:57:15 -07:00
Drew Moseley
d9f1cf6e50 gdb: Disable gdbserver conditionally.
Make the disabling of gdbserver conditional on the value of
TCMODE.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-04-14 15:31:06 -04:00
Mikhail Durnev
284c8290d3 gdb: Disabled gdbserver
Disable build of gdbserver because it is provided by
external-sourcery-toolchain

Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
2014-04-03 19:37:22 -05:00
Christopher Larson
5f80b28bd4 Correct PR/PRINC for GNU_HASH fixes
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-31 09:47:45 -07:00
Christopher Larson
3b44877887 Move GNU_HASH warning fixes here from meta-mentor
Internal toolchains generally don't see these, as they build that toolchain
with the default behavior they expect, so it's appropriate to include these
fixes with the external toolchain configuration, for now.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-31 09:38:09 -07:00