diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2023-04-28 11:07:57 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-04 12:34:30 +0100 |
commit | b7574378e8d310413805f87d7dccc9063f433b5a (patch) | |
tree | 48d688131db9d1adb15800293f5a191471041471 /meta/classes-recipe/kernel-module-split.bbclass | |
parent | fb8d21e73fbe3692bc1aa3455f957eb26c6b5ea8 (diff) | |
download | poky-b7574378e8d310413805f87d7dccc9063f433b5a.tar.gz |
perl-version: remove PERL* assignments
The perl-version.bbclass executes functions which can depend on
variables potentially populated by native, such as `libdir`. The
sanity `native-last` suggests that recipes should `inherit native`
last, but when that is done the variables like PERLVERSION end up
as `None`, since `${STAGING_LIBDIR}` needs `${libdir}` which is not
yet populated (by native).
All recipes in poky and widely used meta-layers have already been
updated to use the functions directly instead of relying on these
problematic variables. Delete the variables so that future recipes
do not make the mistake of using them.
Related: openbmc/openbmc#3770
(From OE-Core rev: 9351b6e7fab5669340bb062b9c84fb4faa3dce0b)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-module-split.bbclass')
0 files changed, 0 insertions, 0 deletions