ANDROID: kbuild: suppress llvm-ar errors

These errors are harmless, suppress the output.

Fixes: 310afefe71 ("ANDROID: kbuild: add support for Clang LTO")
Change-Id: Ia78f2edb6aa3a93ffbca37d193f065a51f748679
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
Sami Tolvanen
2019-11-27 12:57:39 -08:00
parent 2d939f16c3
commit 96dc079c19

View File

@@ -54,7 +54,7 @@ lto_lds()
if [ -n "${CONFIG_MODVERSIONS}" ]; then
for a in ${KBUILD_VMLINUX_OBJS} ${KBUILD_VMLINUX_LIBS}; do
for o in $(${AR} t $a); do
for o in $(${AR} t $a 2>/dev/null); do
if [ -f ${o}.symversions ]; then
cat ${o}.symversions >> .tmp_lto.lds
fi