Linux build: handle CONFIG_OBJTOOL_WERROR=y

Linux 5.16 by default fails the build on objtool warnings. We have
known and understood objtool warnings we can't fix without
involving Linux maintainers.

To work around this we introduce an objtool wrapper script which
removes the `--Werror` flag.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #17456
This commit is contained in:
Attila Fülöp
2025-06-16 17:12:09 +02:00
committed by GitHub
parent bd27b75401
commit 6cf17f6538
7 changed files with 98 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
common.sh
objtool-wrapper