ANDROID: Disable dynamic ftrace for allmodconfig builds
With LTO, upstream prefers to generate __mcount_loc sections with
objtool, which depends on libelf-dev that's not available in the CI.
Disable DYNAMIC_FTRACE from allmodconfig builds temporarily to work
around the problem.
Bug: 140224784
Bug: 145210207
Change-Id: I42ae99ab0a32ca3e7dcec6eae5a3e5df4b23f0d3
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
diff --git a/build.config.allmodconfig b/build.config.allmodconfig
index f35ffe6..6f7a74c 100644
--- a/build.config.allmodconfig
+++ b/build.config.allmodconfig
@@ -7,6 +7,7 @@
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
-d TEST_KMOD \
-d CPU_BIG_ENDIAN \
+ -d DYNAMIC_FTRACE \
-e UNWINDER_FRAME_POINTER \
(cd ${OUT_DIR} && \