diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-06-18 19:28:47 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-09-07 08:17:42 -0700 |
commit | 7aca7fa6dbf294ca6424c3dd4244c20dbd08a20e (patch) | |
tree | a252fc68e2757836a7dee977f2e3eeb1726584a4 /meta-python/recipes-devtools/python | |
parent | 110b275c6dae189399184ab6c745818544857696 (diff) | |
download | meta-openembedded-7aca7fa6dbf294ca6424c3dd4244c20dbd08a20e.tar.gz |
cryptsetup: Only recommend kernel modules when building for target
Otherwise cryptsetup-native depends on the target kernel and thus the
target compiler, as can be seen by:
$ bitbake -g cryptsetup-native
$ grep 'cryptsetup.*linux-yocto' task-depends.dot
"cryptsetup-native.do_build" -> "linux-yocto.do_deploy"
"cryptsetup-native.do_build" -> "linux-yocto.do_package_write_rpm"
"cryptsetup-native.do_populate_sysroot" -> "linux-yocto.do_populate_sysroot"
$ grep 'linux-yocto.*gcc-cross' task-depends.dot
"linux-yocto.do_kernel_configme" -> "gcc-cross-x86_64.do_populate_sysroot"
"linux-yocto.do_prepare_recipe_sysroot" -> "gcc-cross-x86_64.do_populate_sysroot"
This also moves the runtime dependencies to near the end of the recipe,
which is more customary.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 497602b4840720e8351ecf961ac6f85103093750)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions