From 7bce37ec80d2c57b1942ef3651a9caa54e3c58d8 Mon Sep 17 00:00:00 2001 From: Sami Tolvanen Date: Mon, 14 Dec 2020 12:17:59 -0800 Subject: [PATCH] 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 --- build.config.allmodconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/build.config.allmodconfig b/build.config.allmodconfig index f35ffe60274b..6f7a74c7ba9b 100644 --- a/build.config.allmodconfig +++ b/build.config.allmodconfig @@ -7,6 +7,7 @@ function update_config() { ${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} && \