be047631de
This reverts commit 4c451dba25
.
AOSP's distribution of GNU binutils always had a curious target triple
prefix on the binaries. Now that GNU binutils is deprecated for Android
Common Kernels, we can now remove this out of tree workaround. Now
building Android kernels with LLVM matches upstream (see
Documentation/kbuild/llvm.rst).
Bug: 118439987
Bug: 120440614
Bug: 141693040
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Iecaa3264a440f795f2f3a44bdf74fe28ad4ed1cc
14 lines
424 B
Text
14 lines
424 B
Text
DEFCONFIG=allmodconfig
|
|
|
|
POST_DEFCONFIG_CMDS="update_config"
|
|
function update_config() {
|
|
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
|
|
-d TEST_KMOD \
|
|
-d CPU_BIG_ENDIAN \
|
|
-d STM \
|
|
-d TEST_MEMCAT_P \
|
|
-e UNWINDER_FRAME_POINTER \
|
|
|
|
(cd ${OUT_DIR} && \
|
|
make O=${OUT_DIR} $archsubarch CROSS_COMPILE=${CROSS_COMPILE} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig)
|
|
}
|