How fix "No rule to make target 'arch/arm64/boot/dts/kona-rumi.dtb', needed by '__build'. Stop
0
votes
1
answer
3624
views
Previously, I had the same error related to the file:
arch/arm64/boot/dts/qcom/apq8016-sbc.dtb
, but I solved it by deleting the line subdir-y += qcom
from the arch/arm64/boot/dts/Makefile
.
Now a new same error appears and I have no idea how to fix it.
Internet advice didn't help.
Error:
make: *** No rule to make target 'arch/arm64/boot/dts/kona-rumi.dtb', needed by '__build'. Stop.
make: *** Waiting for unfinished jobs....
make: *** [../scripts/Makefile.build:642: arch/arm64/boot/dts] Error 2
make[1] : *** [arch/arm64/Makefile:172: dtbs] Error 2
make[1] : *** Waiting for unfinished jobs....
Error with make V=1
:
make -f ../scripts/Makefile.build obj=arch/arm64/boot/dts/ti need-builtin=
(cat /dev/null; ) > arch/arm64/boot/dts/ti/modules.order
make -f ../scripts/Makefile.build obj=arch/arm64/boot/dts/vendor need-builtin=
make -f ../scripts/Makefile.build obj=arch/arm64/boot/dts/vendor/qcom need-builtin=
(cat /dev/null; ) > arch/arm64/boot/dts/vendor/qcom/modules.order
make: *** No rule to make target 'arch/arm64/boot/dts/vendor/qcom/kona-rumi.dtb', needed by '__build'. Stop.
make: *** Waiting for unfinished jobs....
make: *** [../scripts/Makefile.build:642: arch/arm64/boot/dts/vendor/qcom] Error 2
make: *** [../scripts/Makefile.build:642: arch/arm64/boot/dts/vendor] Error 2
make[1] : *** [arch/arm64/Makefile:172: dtbs] Error 2
make[1] : *** Waiting for unfinished jobs....
MyKernel:
kernel
My build code:
export ARCH=arm64
export SUBARCH=arm64
export HEADER_ARCH=arm64
export DTC_EXT=dtc
PATH="/home/hehe/Downloads/clang/bin:/home/hehe/Downloads/aarch64-linux-android-4.9/bin:/home/hehe/Downloads/arm-linux-androideabi-4.9/bin:${PATH}"
rm -rf out
make O=out clean && make mrproper
make O=out ARCH=arm64 kona_defconfig
make -j$(nproc --all) O=out ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-android- CROSS_COMPILE_ARM32=arm-linux-androideabi-
Asked by JohnTit
(11 rep)
Feb 16, 2023, 05:22 PM
Last activity: Jul 8, 2025, 12:08 AM
Last activity: Jul 8, 2025, 12:08 AM