diff options
author | Francesco Valla <valla.francesco@gmail.com> | 2022-07-31 15:51:13 +0200 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-08-01 15:12:38 +0000 |
commit | 8cba3aaefb38436bf2f5032e6955f7818e6789f2 (patch) | |
tree | 08fd58ae50213d57285a1b7a808beb19c95de5d4 /recipes-extended/procps | |
parent | f2599b504a912def90e30b167c7e9dfb507ee485 (diff) | |
download | meta-freescale-8cba3aaefb38436bf2f5032e6955f7818e6789f2.tar.gz |
classes: fsl-kernel-localversion: fix usage with devtool
Make fsl-kernel-localversion devtool-compatible, avoiding to depend on
${WORKDIR}/defconfig to be present. Two approaches are taken:
- for recipes inheriting kernel-yocto, LINUX_VERSION_EXTENSION is set to
LOCALVERSION; in this way, the do_kernel_configme task will use it to
set CONFIG_LOCALVERSION once the .config file is generated;
- for recipes not inheriting kernel-yocto, CONFIG_LOCALVERSION is simply
appended to the .config file contained inside the build directory.
The do_kernel_localversion is being made executed after do_kernel_configme
rather than do_kernel_metadata; in this way, modifications are applied
after the config-by-fragments step has already been performed.
Signed-off-by: Francesco Valla <valla.francesco@gmail.com>
(cherry picked from commit 5d96d634568636aa41faf72356c47f0d04532c87)
Diffstat (limited to 'recipes-extended/procps')
0 files changed, 0 insertions, 0 deletions