Makefile: Do not check for libelf when building OOT module
authorBen Hutchings <ben@decadent.org.uk>
Mon, 7 Sep 2020 02:38:04 +0000 (03:38 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 31 Dec 2023 15:46:35 +0000 (16:46 +0100)
commitf5dde0b9d6a21e6256ece9de6e40f9b2f3ea3d30
treeb9a46c531b954d3e955a45d623a232a7f8bdee4b
parentd8c01767bd6682ec27b3a9606fc5111ce44d5e09
Makefile: Do not check for libelf when building OOT module

When building out-of-tree modules, the necessary tools should have
already been built.  We therefore do not need libelf-dev to be
installed.

This effectively reverts commit 9f0c18aec620 "objtool: Fix
CONFIG_STACK_VALIDATION=y warning for out-of-tree modules", and
similarly moves the check introduced by commit 33a57ce0a54d "bpf:
Compile resolve_btfids tool at kernel compilation start".

Gbp-Pq: Topic debian
Gbp-Pq: Name makefile-do-not-check-for-libelf-when-building-oot-module.patch
Makefile