78 Commits

Author SHA1 Message Date
Christopher Larson
e97c0316a1 systemd-boot: apply fix for ccache.bbclass compat from @lumag
Fixes #200

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2022-05-20 21:06:20 -07:00
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
4329c00b73 buildtools-tarball: obey EXTERNAL_ENABLED
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 12:17:36 -07: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
e93ba6ff5d meta-environment{,-extsdk}: obey the tcmode override
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 12:17:36 -07:00
Christopher Larson
33b2728ac6 glibc-locale: obey the tcmode override
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 12:17:36 -07:00
Christopher Larson
fdc6a24643 bash: use tcmode override
This ensures we pass yocto-check-layers.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 12:51:40 -07:00
Christopher Larson
2fdd749af5 glibc-locale: add a var default for localedef_depends
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 12:51:40 -07:00
Christopher Larson
ae9ad2e7f9 glibc-locale: quiet the same checks as external-toolchain.bbclass
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05: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
Serge Semin
3902c43070 meta-environment{,-extsdk}: don't include -B${gcc_bindir} in emitted TUNE_CC_ARCH
Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently
to TARGET_CC_ARCH, since it consists of local machine toolchain paths.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-11-19 22:31:53 +05:00
Frederik Noe-Sdun
12305fb6d5 bash: check if support/bash.pc exist before running sed
The bash version provided by meta-gplv2 does not provide this file and
as a consequence do_compile will fail with:

    sed: can't read support/bash.pc: No such file or directory

Signed-off-by: Frederik Noe-Sdun <Frederik_NoeSdun@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-10-19 10:18:48 -06:00
Christopher Larson
a7c70be6c6 bash: drop -B${gcc_bindir} from bash.pc
This triggers staging qa warnings otherwise.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-10-17 02:21:20 +05:00
Christopher Larson
9fce314315 ncurses: drop append, this belongs in meta-sourcery
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15 01:53:51 +05: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
e5932ca319 ppp: drop, this was fixed upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-12-04 21:30:17 +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
0f3e1a48c0 systemd-boot: 232 -> %
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-11-23 03:38:42 +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
402ca1bf32 Drop recipes/appends specific to the Sourcery toolchain
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 10:08:30 +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
Christopher Larson
da3bab11dd systemd-boot: 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:46:13 +05:00
Christopher Larson
3ebfc49030 buildtools-tarball: ignore TOOLCHAIN_TARGET_TASK_append
buildtools-tarball is host only, and does not add TOOLCHAIN_TARGET_TASK to
RDEPENDS. Forcibly empty it, otherwise a TOOLCHAIN_TARGET_TASK_append at the
config level will break the buildtools-tarball build

JIRA: SB-8391

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-15 21:57:44 -07:00
Christopher Larson
55c946aeb0 ppp: obey the actual libc kernel version
Since the external toolchain is available at parse time, we can actually grab
the kernel version from the external toolchain sysroot and use that to
determine whether to apply the patch. Do so.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-19 10:14:44 -07:00
Christopher Larson
ec84c4680d Fix builds of the ppp recipe with most toolchains
A patch in oe-core is needed, at this time, to fix builds with
linux-libc-headers from the 4.8 Linux kernel or newer, which is not the case
for most external toolchains. Unfortunately, this patch also breaks the build
of ppp with older linux-libc-headers, so we need to revert it. A note in the
README is added explaining how to disable this for external toolchains with
recent enough kernel libc headers.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-18 15:34:03 -07:00
Christopher Larson
8738c4e2c5 Merge pull request #110 from drewmoseley/fix-multiple-providers
gdb: Conditionally provide gdbserver
2016-01-04 19:21:16 -07: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
aa8575ab96 lttng-ust, babeltrace: drop old patches
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-12-17 13:23:08 -07:00
Christopher Larson
9c805c68bc Merge pull request #90 from MentorEmbedded/fix-various-warning-and-qa-issues
Fix various warning/QA issues
2015-07-29 20:58:23 -07:00
Christopher Larson
7ea84d1f97 glibc-{mtrace,scripts,locale}: align PV with glibc-external
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:10:53 -07:00
Christopher Larson
362d20fac7 Resolve build-deps / shlibs issues
Mostly due to the inter-dependency between glibc & libgcc

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:03:52 -07:00
Christopher Larson
50d059f396 lttng-ust: 2.6.1 -> git
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-23 19:28:34 -07:00
Christopher Larson
bcf80cc5db lttng-ust: 2.6.0 -> 2.6.1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-06-19 08:36:43 -07:00
Christopher Larson
04c56641bf libunwind: fix build with Sourcery G++
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:29:05 -07:00
Christopher Larson
51c7d12402 ncurses: work around ownership problem
Due to a previous workaround, the external gcc/g++ is run outside of pseudo
context. The ncurses install target re-links the libraries directly into ${D},
so we need to make sure the ownership on those files is correct.

JIRA: SB-4185

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-24 18:28:04 -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
60a384ea95 lttng-ust: 2.5.2 -> 2.6.0
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-03-02 16:14:07 -07:00
Christopher Larson
3b4ff77353 lttng-ust: 2.5.0 -> 2.5.2
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-01-09 16:26:32 -07:00
Christopher Larson
eb37c22a03 libffi: 3.1 -> 3.2.1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-01-09 16:26:24 -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
0cc5d48934 babeltrace: 1.2.1 -> 1.2.4
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-16 08:47:10 -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
efea797745 irda-utils: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:30 -07:00