android_kernel_xiaomi_sm8450/build.config.allmodconfig
Quentin Perret 1e984a1b1d ANDROID: Re-enable CONFIG_STM for allmodconfig
It was disabled due to ld.lld discarding the __memcat_p symbol even
though it was exported -- see [1]. However, this issue has now been
fixed upstream in 7273ad2b08 ("kbuild: link lib-y objects to
vmlinux forcibly when CONFIG_MODULES=y"), so CONFIG_STM can now be
enabled safely.

[1] https://github.com/ClangBuiltLinux/linux/issues/515

Bug: 140224784
Fixes: dd88a4a1d5 ("ANDROID: Fix x86_64 allmodconfig build")
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: Ic0dede721f67a0f2ff80ba27cb2a2aa9c7c03db3
2020-04-14 14:44:01 +01:00

14 lines
413 B
Plaintext

DEFCONFIG=allmodconfig
# XFS_FS is currently broken on this branch with clang-9
POST_DEFCONFIG_CMDS="update_config"
function update_config() {
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
-d TEST_KMOD \
-d CPU_BIG_ENDIAN \
-e UNWINDER_FRAME_POINTER \
(cd ${OUT_DIR} && \
make O=${OUT_DIR} $archsubarch CC=${CC} CROSS_COMPILE=${CROSS_COMPILE} olddefconfig)
}