Собираю AOSP 8.0.0 для Xiaomi Redmi Note 3 Pro.
При сборки выдает:
FAILED: out/target/product/kenzo/obj/KERNEL_OBJ/usr
/bin/bash -c "(if [ ! -z "kenzo_defconfig" ]; then rm -f ../out/target/product/kenzo/obj/KERNEL_OBJ/.config; make -j1 -C kernel O=../out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- kenzo_defconfig; make -j1 -C kernel O=../out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- headers_install; fi ) && (if [ "kenzo_defconfig" != "kenzo_defconfig" ]; then echo "Used a different defconfig for header generation"; rm -f ../out/target/product/kenzo/obj/KERNEL_OBJ/.config; make -j1 -C kernel O=../out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- kenzo_defconfig; fi ) && (if [ ! -z "" ]; then echo "Overriding kernel config with ''"; echo >> out/target/product/kenzo/obj/KERNEL_OBJ/.config; make -j1 -C kernel O=../out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- oldconfig; fi )"
ninja: build stopped: subcommand failed.
13:55:02 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Что здесь не так?
Вот сам .mk файл, на котором возникает ошибка.
Хелп!