summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-07-26 13:15:15 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2017-07-26 13:15:15 +1000
commit61605381f24e1dbcab1711dd7d4791aea7c1edef (patch)
treeaf108ac553de168384153a3d2102887203d25778 /scripts
parent43d24022258a715a1d2aad90820149f1570adb17 (diff)
parent8e6ca62cf05a2f61017a0fc02a26c1cd5a778a3a (diff)
Merge remote-tracking branch 'tip/auto-latest'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 4a9a2cec0a1b..854608d42e85 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -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