projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f1eae2
)
kbuild: Fix recordmcount dependency for OOT modules
author
Ben Hutchings
<ben@decadent.org.uk>
Mon, 8 Sep 2014 17:31:24 +0000
(18:31 +0100)
committer
Bastian Blank
<waldi@debian.org>
Fri, 22 Jun 2018 09:50:22 +0000
(10:50 +0100)
We never rebuild anything in-tree when building an out-of-tree
modules, so external modules should not depend on the recordmcount
sources.
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name kbuild-fix-recordmcount-dependency.patch
scripts/Makefile.build
patch
|
blob
|
history
diff --git
a/scripts/Makefile.build
b/scripts/Makefile.build
index 4f2b25d43ec9b46923e52ae5d6f2bf789a6465b4..43395eba602e5dee4ea600346571d66b7d1538b5 100644
(file)
--- a/
scripts/Makefile.build
+++ b/
scripts/Makefile.build
@@
-249,6
+249,11
@@
cmd_record_mcount = \
fi;
endif # CONFIG_FTRACE_MCOUNT_RECORD
+# Don't require recordmcount source for an OOT build.
+ifdef KBUILD_EXTMOD
+recordmcount_source :=
+endif
+
ifdef CONFIG_STACK_VALIDATION
ifneq ($(SKIP_STACK_VALIDATION),1)