The kernel is now being linked with ld.ldd, but this linker will discard the __memcat_p symbol, even if it is exported, if there are no in-kernel users. Since the STM driver and test code can be built as a module, they will fail at modpost time. While the solution to this bug is still being discussed, keep the allmodconfig build going by suppressing these options. Bug: 140224784 Link: https://github.com/ClangBuiltLinux/linux/issues/515 Test: make -j64 ARCH=x86_64 allmodconfig + tweaks Change-Id: I2942e4b3443180e6bff9820a7c5174c03347ae8a Signed-off-by: Alistair Delva <adelva@google.com>
19 lines
620 B
Plaintext
19 lines
620 B
Plaintext
DEFCONFIG=allmodconfig
|
|
KCONFIG_ALLCONFIG=${ROOT_DIR}/common/arch/${ARCH%_*}/configs/gki_defconfig
|
|
|
|
# XFS_FS is currently broken on this branch with clang-9
|
|
# KVM_INTEL is broken on this branch due to lack of asm-goto support in clang
|
|
POST_DEFCONFIG_CMDS="update_config"
|
|
function update_config() {
|
|
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
|
|
-d TEST_KMOD \
|
|
-d XFS_FS \
|
|
-d CPU_BIG_ENDIAN \
|
|
-d KVM_INTEL \
|
|
-d STM \
|
|
-d TEST_MEMCAT_P \
|
|
|
|
(cd ${OUT_DIR} && \
|
|
make O=${OUT_DIR} $archsubarch CC=${CC} CROSS_COMPILE=${CROSS_COMPILE} olddefconfig)
|
|
}
|