diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-06-18 19:28:47 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-28 09:03:34 -0700 |
commit | 497602b4840720e8351ecf961ac6f85103093750 (patch) | |
tree | b4bca26c3e918409693a8448422950b182aa36f7 /meta-networking | |
parent | 5abdb2dab0c77dda9465dafd313d2932086f81c5 (diff) | |
download | meta-openembedded-contrib-497602b4840720e8351ecf961ac6f85103093750.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>
Diffstat (limited to 'meta-networking')
0 files changed, 0 insertions, 0 deletions