summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/perl/files/libperl-5.8.3-create-libperl-soname.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-22 20:52:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-16 22:26:38 +0100
commit5317a214c5932aa04609acbc136be9b2f98a228c (patch)
tree9c7252d235e23c0773d7540ad9a5ca23a20de0c6 /openembedded/packages/perl/files/libperl-5.8.3-create-libperl-soname.patch
parentc49991441c9a5bf0d0ec2dd951e4ad2d76a42eca (diff)
downloadpoky-5317a214c5932aa04609acbc136be9b2f98a228c.tar.gz
toolchain: Provide abstraction for recipe specific toolchain selection
This change implements a toolchain selection mechanism. Selection is made using a set of variables, primarily PREFERRED_TOOLCHAIN_TARGET which defaults to gcc. It uses the familiar name for toolchain e.g. "gcc" which selects GNU compiler + binutils as default C/C++ toolchain or "clang" which will use LLVM/Clang Compiler. Layers an add their own toolchain definitions too. There are also PREFERRED_TOOLCHAIN_NATIVE and PREFERRED_TOOLCHAIN_SDK which will ulitmately allow selection of the toolchain used for the native/cross and nativesdk/crosssdk compilers. This currently isn't functional but is essential to the patch to ensure things are set to the existing gcc support in those cases. Users would most commonly want to set: PREFERRED_TOOLCHAIN_TARGET ?= "clang" in local.conf or other distro specific global configuration metadata. It is also selectable at recipe scope, since not all packages are buildable with either clang or gcc, a recipe can explicitly require a given toolchain using the TOOLCAHIN variable, e.g. glibc can not be built with clang therefore glibc recipe sets: TOOLCHAIN = "gcc" The TOOLCHAIN variable is distinct from the user preference so recipes with specific requirements can be identified. This also allows different polcies to be be specified for native/SDK cases in the future. (From OE-Core rev: 45bdedd213aff8df3214b95ef2a8551c0abd93a0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'openembedded/packages/perl/files/libperl-5.8.3-create-libperl-soname.patch')
0 files changed, 0 insertions, 0 deletions