7bce37ec80
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>
18 lines
487 B
Plaintext
18 lines
487 B
Plaintext
DEFCONFIG=allmodconfig
|
|
|
|
HERMETIC_TOOLCHAIN=0
|
|
|
|
POST_DEFCONFIG_CMDS="update_config"
|
|
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} && \
|
|
make O=${OUT_DIR} $archsubarch CROSS_COMPILE=${CROSS_COMPILE} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig)
|
|
}
|
|
|
|
ADDITIONAL_HOST_TOOLS="${ADDITIONAL_HOST_TOOLS} openssl"
|