summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-08-18 10:29:54 +0200
committerIngo Molnar <mingo@kernel.org>2017-08-18 10:29:54 +0200
commit0c2364791343e4b04cd1f097ff2abc2799062448 (patch)
treebeb9d94252d42d35b2066bf23383576b0beeebeb /scripts/Makefile.build
parente26f34a407aec9c65bce2bc0c838fabe4f051fc6 (diff)
parentaa5d1b81500e6059190f18fe25a7617682321910 (diff)
downloadblackbird-obmc-linux-0c2364791343e4b04cd1f097ff2abc2799062448.tar.gz
blackbird-obmc-linux-0c2364791343e4b04cd1f097ff2abc2799062448.zip
Merge branch 'x86/asm' into locking/core
We need the ASM_UNREACHABLE() macro for a dependent patch. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/Makefile.build')
-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
OpenPOWER on IntegriCloud