ANDROID: Fix x86_64 allmodconfig build

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>
This commit is contained in:
Alistair Delva 2019-10-31 10:23:42 -07:00
parent 8e57dcda43
commit dd88a4a1d5

View File

@ -9,7 +9,10 @@ function update_config() {
-d TEST_KMOD \
-d XFS_FS \
-d CPU_BIG_ENDIAN \
-d KVM_INTEL
-d KVM_INTEL \
-d STM \
-d TEST_MEMCAT_P \
(cd ${OUT_DIR} && \
make O=${OUT_DIR} $archsubarch CC=${CC} CROSS_COMPILE=${CROSS_COMPILE} olddefconfig)
}