aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-08-16external-debugsrc.bbclass: remove redundant package inheritHEADmickledoremasterChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-08-16layer.conf: set LAYERSERIES_COMPAT to mickledoreChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-05-18skip_recipe_dynamic: remove not needed update_data callkirkstoneChristopher Larson
This operation is a no-op in bitbake today, so there's no need to call it. JIRA: SB-21758 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-05-18external-toolchain: remove not needed finalize callChristopher Larson
This operation is a no-op in bitbake today, so there's no need to call it. JIRA: SB-21758 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-05-18gdbserver-external: add missing MLPREFIX in depends flagChristopher Larson
The depends flag isn't automatically updated to include the MLPREFIX the way the DEPENDS variable is by multilib_global, so this must include it directly. JIRA: SB-21758 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-05-18external-toolchain-cross-canadian: fix the binutils dep removal for multilibChristopher Larson
We needed a `${MLPREFIX}` reference here to align with the behavior of external-toolchain.bbclass. JIRA: SB-21758 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-05-18tcmode: fix a remnant usage of old overrides syntaxChristopher Larson
This bug effectively broke use of MULTILIBS with external oe sdk toolchains, but this fixes it. JIRA: SB-21758 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-05-09gcc-runtime-external: don't include libgcc sourcesChristopher Larson
This avoids failures due to file conflicts between libgcc and gcc-runtime. JIRA: SB-22033 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-27Merge remote-tracking branch 'origin/SB-21854' into kirkstoneChristopher Larson
* origin/SB-21854: libgcc-external: add needed entries to DEBUG_PREFIX_MAP gcc-runtime-external: override REL_S gcc-no-shared-source.inc: bring back fetch/unpack external-toolchain.bbclass: inherit external-debugsrc external-toolchain.bbclass: stop overriding S, we need it for debugsrc external-debugsrc.bbclass: use oe.path.copyhardlinktree external-debugsrc.bbclass: add class copydebugsources_extra.bbclass: add class oprofile-external: avoid too-greedy FILES pattern
2023-04-21libgcc-external: add needed entries to DEBUG_PREFIX_MAPChristopher Larson
These ensure that external-debugsrc.bbclass and package.bbclass pick up the needed libgcc debug sources. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-21gcc-runtime-external: override REL_SChristopher Larson
This is needed to fix the debug prefix map, as we want to be looking for gcc and gcc-runtime, not gcc-runtime-external. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-21gcc-no-shared-source.inc: bring back fetch/unpackChristopher Larson
external-debugsrc copies debug sources from the external toolchain in do_unpack, so we need that task to exist. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-21external-toolchain.bbclass: inherit external-debugsrcChristopher Larson
We want debug sources for all the target external toolchain recipes, so inherit it here. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-21external-toolchain.bbclass: stop overriding S, we need it for debugsrcChristopher Larson
We need to be able to copy sources from the external toolchain into it in do_unpack, then back out into the install area in do_install. Note that attempts were made to bypass this indirection by having do_package directly copy sources from the external toolchain, and while this did function, it results in pseudo failures breaking the build. Further investigation could be done on this in the future. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-21external-debugsrc.bbclass: use oe.path.copyhardlinktreeChristopher Larson
Using hard links is better than copying the data where possible. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-21external-debugsrc.bbclass: add classChristopher Larson
This class copies debug sources out of the external toolchain, obeying the paths in DEBUG_PREFIX_MAP, the same way do_package does to copy those sources into the src binary package. Between the two, this redistributes the debug sources in the appropriate -src packages as it would for non-external recipes. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-21copydebugsources_extra.bbclass: add classChristopher Larson
This class, which comes from our toolchain builds, worked around the inability of package.bbclass to fetch sources from work-shared, but as a consequence, also works around issues with using the debug sources we pull from the external toolchain. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-04-21oprofile-external: avoid too-greedy FILES patternChristopher Larson
Using `${bindir}/op*` was also picking up files that had nothing to do with oprofile, so use an explicit list to prevent this. JIRA: SB-21854 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-03-21gcc-runtime-external: avoid forced early expansion of do_installChristopher Larson
This expansion resulted in absolute filesystem paths in the signature rather than the unexpanded forms. JIRA: SIEJIR-6415 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-03-21tcmode-external: add -B to TARGET_CC_ARCH, not TUNE_CCARGSChristopher Larson
TUNE_CCARGS, while most appropriate, has a `vardepvalue` set which causes its fully expanded version to end up in checksums, not the unexpanded version, which causes a problem if that value includes an absolute path. Place it in TARGET_CC_ARCH instead. JIRA: SIEJIR-6415 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-03-21external_common.bbclass: exclude LAYERDIR_external-toolchain from signaturesChristopher Larson
We never want an absolute filesystem path in our checksums. JIRA: SIEJIR-6415 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-03-21glibc-external-version.inc: also support calling 'ldd --version'Christopher Larson
JIRA: SB-21436 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-02-04gcc-{runtime,sanitizers}-external: fix removal of dep upon gcc-sourceChristopher Larson
Without this, we get this failure when using an external toolchain: ERROR: Nothing PROVIDES 'gcc-source-11.3.0-13.0.1'. Close matches: gcc-source-11.3.0 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-02-02glibc-external: remove provide of linux-libc-headersChristopher Larson
This isn't necessary, as linux-libc-headers isn't included in the build in this configuration anyway, and avoids a need to deal with mismatched provides between the two recipes, ie "one provides something the other does not". JIRA: SB-21212 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-02-02tcmode: remove linux-libc-headers preference and skipChristopher Larson
There's no need for the linux-libc-headers provide in glibc-external, as it doesn't get pulled into the build regardless in a non-rebuild case, it just adds complexity. JIRA: SB-21212 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-12-29Update the READMEChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-12-05external-toolchain.bbclass: add 'external' to overrides for these recipesChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-09-03libxcrypt-external: avoid conflicting with opensslChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-08-25libnsl2-external: fix broken libnsl.so link and add a check for itChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-08-25libnsl2-external: also package yp*.x and libnsl.pcChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-08-25common-license: add entry for LGPL-2.1-or-laterChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-08-25common-license: remove old non-spdx license mappingChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-08-25glibc-external: use '-or-later' licenseChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-08-25glibc-external: do not package libcap headersChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-08-25glibc-external: explicitly list sys headers and do not package acl.hChristopher Larson
acl.h comes from the acl recipe, so we should let it provide it. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-06-16tcmode: improve error when no compatible toolchain is foundChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-06-08oe.external: redirect stderr to stdout for newer gccChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-05-20systemd-boot: apply fix for ccache.bbclass compat from @lumagChristopher Larson
Fixes #200 Signed-off-by: Christopher Larson <kergoth@gmail.com>
2022-04-06Updates for inclusive languageChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-06Use SPDX license namesChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-05tcmode-external-oe-sdk: default to locale-utf8-is-defaultChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-05tcmode: add intermediate EXTERNAL_TOOLCHAIN_FEATURES_DEFAULT variableChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-01tcmode: fix toolchain-clang overrideChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-01tcmode-external: don't pass --no-sysroot-suffix for clangChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-02-23Update from honister to kirkstoneChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-30glibc: update libc.headershonisterChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-30glibc: update SUPPORTEDChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-30libgcc-external: don't package includes that gcc-runtime doesChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-01Convert to new overrides syntax for honisterChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-08-17layer.conf: set LAYERSERIES_COMPAT to honisterChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>