ANDROID: fix allmodconfig build to use the right toolchain

Without these changes, the user will be prompted for config changes.

Signed-off-by: Will McVicker <willmcvicker@google.com>
Bug: 153934356
Test: BUILD_CONFIG=common/build.config.allmodconfig.aarch64 build/build.sh
Change-Id: Ib9ef72b217d1e0d78edf136cfe560058e3126d18
This commit is contained in:
Will McVicker 2020-04-13 23:36:09 -07:00 committed by Alistair Delva
parent b8b3040a57
commit 9f02b3b447

View file

@ -12,5 +12,5 @@ function update_config() {
-e UNWINDER_FRAME_POINTER \
(cd ${OUT_DIR} && \
make O=${OUT_DIR} $archsubarch CC=${CC} CROSS_COMPILE=${CROSS_COMPILE} olddefconfig)
make O=${OUT_DIR} $archsubarch CLANG_TRIPLE=${CLANG_TRIPLE} CROSS_COMPILE=${CROSS_COMPILE} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig)
}