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, 22 Apr 2023 12:24:15 +0000 (13:24 +0100)
commit71f5bae0f56550346f02f68b8fc2ea5479b1cd55
tree6a3ad70afb0d1ee3ef23867d7748bac31674d49a
parent67abcb69ed7ab582ba04d376f9e421b37ddc0dc8
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