aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-04-05tcmode-external: don't pass --no-sysroot-suffix for clangsumoChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-05-10Silence gdbserver preference warnings in multilib buildsChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-05-09gdb: fix missing mlprefix for gdbserver prefChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-04-24tcmode: work around mlprefix preference bug wrt gdbserverChristopher Larson
There's a bug where the implicitly created `PREFERRED_PROVIDER_${MLPREFIX}<provider>` isn't being obeyed for runtime package installation in a multilib image, so work around it by explicitly specifying mlprefix. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-04-24gdbserver-external: add missing MLPREFIX in dep on compilerlibsChristopher Larson
DEPENDS/PROVIDES & PREFERRED_PROVIDER get mapped for mlprefix automatically, but 'depends' flags do not, so the MLPREFIX has to be explicit in such flags. This fixes the ability to build multilib images, i.e. lib32-core-image-base. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-02-06{glibc,gcc-runtime}: fix warnings about libssp for builds with security flagsChristopher Larson
This can be dropped if and when the toolchain gets built without libssp, which is the default in oe-core. We don't need gcc's libssp anyway, since glibc provides it already, and musl has the separate libssp_nonshared lib to supplement, which is in oe-core. JIRA: SB-12465 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-11-19meta-environment{,-extsdk}: don't include -B${gcc_bindir} in emitted ↵Serge Semin
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-10-30external-common.bbclass: fix long standing oe.external import issueChristopher Larson
bitbake-layers and devtool both fail to run commands with meta-external-toolchain included, as it fails to import oe.external. It turns out that oe_import in base.bbclass is not entirely sufficient to get the needed modules imported when namespace packages are involved, and those packages have already been imported. Re-import such packages after the sys.path change to ensure the new __init__.py files are parsed, and the new __path__ changes picked up. JIRA: SB-11904 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-10-19bash: check if support/bash.pc exist before running sedFrederik Noe-Sdun
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-17bash: drop -B${gcc_bindir} from bash.pcChristopher Larson
This triggers staging qa warnings otherwise. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-10-12external-toolchain.bbclass: add missing mlprefix in binutils depChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-10-12oe.external: handle invalid FILES_MIRRORS entriesChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-06-20glibc-external: add virtual/crypt to PROVIDESChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-04-12layer.conf: set LAYERSERIES_COMPATChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-20Merge remote-tracking branch 'origin/escape-files-mirrors'Christopher Larson
* origin/escape-files-mirrors: oe.external: escape the pathname from FILES_MIRRORS
2018-03-17oe.external: escape the pathname from FILES_MIRRORSChristopher Larson
Currently the substitutions fail to match if the path contains re special characters like '+', which is problematic. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15Various: use external_run, not oe.external.runChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15layer.conf: always inherit external-common to be able to parseChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15ncurses: drop append, this belongs in meta-sourceryChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15Various: leverage the tcmode overridesChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15tcmode: add tcmode- bits to OVERRIDESChristopher Larson
This eases the many checks against TCMODE we need to do for yocto compliance. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15external-toolchain.bbclass: skip when TCMODE is non-externalChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-14external-common.bbclass: fix external_run when not enabledChristopher Larson
This returns immediately with 'UNKNOWN' if the external toolchain isn't enabled, and also immediately adjusts sys.path regardless of OE_IMPORTS handling to avoid the over-reliance upon that mechanism. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-14tcmode: drop pnblacklist of linux-libc-headersChristopher Larson
The blacklist isn't necessary. We already provide the virtual, but if someone wants the real thing, it shouldn't be harmful to allow it to build. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-14tcmode: default to gdb, not gdbserver-externalChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-09gcc: drop TARGET_SYS workaroundChristopher Larson
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-03tcmode: add to gcc compiler component search pathChristopher Larson
This lets the cross gcc locate the binaries produced by binutils-cross. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-03tcmode: drop binutils-cross from PNBLACKLIST_DYNAMICChristopher Larson
We need this to allow the user to specify PREFERRED_PROVIDER for binutils-cross. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-03binutils-cross: install non-prefixed links for gccChristopher Larson
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-03external-common.bbclass: import oe.external right awayChristopher Larson
This aligns with what base.bbclass does. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-03blacklist_dynamic.bbclass: use getVar, not expand, for PNBLACKLIST_DYNAMICChristopher Larson
This ensures that _append/_prepend/_remove are also applied, so the user can remove elements from the variable. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-02glibc-external: don't use deprecated base_path_joinChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-03glibc-external: use oe.utils.read_file, not base_read_fileChristopher Larson
The latter was deprecated and is now removed. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-01gdb: use oe.utils.str_filter_outChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-01libgcc-external: disable the file-rdeps checkChristopher Larson
We need to disable this for the same reason we disable the build-deps check. The recursive dependency between libgcc and glibc has to be broken. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-01glibc-external: silence bberror during do_installChristopher Larson
Silence any errors from oe_multilib_header, as we don't care about missing multilib headers, as the oe-core glibc version isn't necessarily the same as our own. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-12-04ppp: drop, this was fixed upstreamChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-11-30gcc: align TARGET_SYS and TARGET_PREFIXChristopher Larson
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-23systemd-boot: 232 -> %Christopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-11-23gdb: add fallback preferenceChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-08-15TODO.md: remove obsolete TODOChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-21linux-libc-headers: merge back into glibcChristopher Larson
We don't want to encourage use of alternate versions of this recipe, there are better ways to add additional headers. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16Update for sourcery -> external-toolchain layer nameChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16Drop recipes/appends specific to the Sourcery toolchainChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16linux-libc-headers-external: oe_multilib_header bits/long-double.hChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16glibc-external: fix removal of oe_multilib_headerChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16python3: move into core areaChristopher Larson
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-16systemd-boot: move into core areaChristopher Larson
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-02-17Merge pull request #167 from kergoth/sb-8487Christopher Larson
gcc-sanitizers-external: fix COMPILERDEP parse error
2017-02-17gcc-sanitizers-external: fix COMPILERDEP parse errorChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>