summaryrefslogtreecommitdiff
path: root/scripts/package/debian/rules
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-12-20 03:19:56 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2023-12-29 22:25:21 +0900
commitb88365b6d74edc88a9d283c837fec05b13d401a6 (patch)
tree5af48f9ff9be4e5f119bfb377b57473a0b8d4c3e /scripts/package/debian/rules
parent9c65810cfb215f40f14d2c00694911fbc5408761 (diff)
kbuild: deb-pkg: hard-code Build-Depends
The condition to require libelf-dev:native is stale because objtool is now enabled by CONFIG_OBJTOOL instead of CONFIG_UNWINDER_ORC. Not only objtool but also resolve_btfids requires libelf-dev:native; therefore, CONFIG_DEBUG_INFO_BTF should be checked as well. Similarly, CONFIG_SYSTEM_TRUSTED_KEYRING is not the only case that requires libssl-dev:native. Perhaps, the following code would provide better coverage, but it is hard to maintain (and may still be imperfect). if is_enabled CONFIG_OBJTOOL || is_enabled CONFIG_DEBUG_INFO_BTF; then build_depends="${build_depends}, libelf-dev:native" fi if is_enabled CONFIG_SYSTEM_TRUSTED_KEYRING || is_enabled CONFIG_SYSTEM_REVOCATION_LIST || is_enabled CONFIG_MODULE_SIG_FORMAT; then build_depends="${build_depends}, libssl-dev:native" fi Let's hard-code the build dependency. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <n.schier@avm.de>
Diffstat (limited to 'scripts/package/debian/rules')
0 files changed, 0 insertions, 0 deletions