summaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorFrancesco Valla <valla.francesco@gmail.com>2022-07-31 15:51:13 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-08-01 15:12:34 +0000
commita3667f03b7ab54b555a4f06278a29b10a914608d (patch)
treed987117e44e590fe3d5416495d6ea3697bc7cbb3 /wic
parentdbfb1f0101b57de5375b2efee367b093bdbcc933 (diff)
downloadmeta-freescale-a3667f03b7ab54b555a4f06278a29b10a914608d.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 'wic')
0 files changed, 0 insertions, 0 deletions