]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - scripts/Makefile.build
Merge branch 'linus' into locking/core, to pick up fixes
[people/arne_f/kernel.git] / scripts / Makefile.build
index f6152c70f7f417ca234da77c8a503a6c974bcec2..a18cb4496e1eedca52803c783e5d2879a79af40d 100644 (file)
@@ -262,6 +262,9 @@ objtool_args = check
 ifndef CONFIG_FRAME_POINTER
 objtool_args += --no-fp
 endif
+ifdef CONFIG_GCOV_KERNEL
+objtool_args += --no-unreachable
+endif
 
 # 'OBJECT_FILES_NON_STANDARD := y': skip objtool checking for a directory
 # 'OBJECT_FILES_NON_STANDARD_foo.o := 'y': skip objtool checking for a file