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>
Fri, 9 Apr 2021 18:17:58 +0000 (19:17 +0100)
commit1be50a2a3ea6e08e85d3338eb8b0535c27a6d364
tree82b07fcf3c2f43312aa32d883452821624562369
parentd11588079942df6884eb4dd453553e8841e092f3
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