'Unable to build android kernel (android 6.0 on amlogic s905x)

_ Hi everybody,

I have a problem when I compile android 6.0, i tried with ubuntu 14.04, 18.04 and 20.04 and i still have the same error:

I managed to compile the u-boot with make CROSS_COMPILE=aarch64-linux-gnu- kvim_defconfig and make CROSS_COMPILE=aarch64-linux-gnu- and its done,

but when i try to compile android with: make -j4 otapackage (after running these commands which worked: source build/envsetup.sh and lunch kvim-userdebug-32)

I get this error:

make: *** No rule to make target "prebuilts/qemu-kernel/arm/LINUX_KERNEL_COPYING", needed for "out/target/product/kvim/obj/NOTICE_FILES/src/kernel.txt". Stop. make: *** Waiting for unfinished tasks....

the folder prebuilts/qemu-kernel is empty…

Thank you very much for your help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source