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>
Sat, 6 Feb 2021 08:23:52 +0000 (08:23 +0000)
commit8af6fed509b96cc4980b688bd889811feb814be6
treec0c6c4ce28d71abc7e99b5206f26ff95ac9d6faa
parent6ce446cb1a6669a708949705dbc9a07a8311ea9a
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