Hi,
I was attempting to compile a rt kernel for TX2 on an Archlinux host machine and I configured the kernel by
make ARCH=arm64 O=/path/to/destination tegra_defconfig
following by
make ARCH=arm64 O=/path/to/destination menuconfig
and modified preempt model to full preempt rt, kernel frequency to 1000Hz and add a local version.
After that, when compiling, I tried
make ARCH=arm64 O=/path/to/destination -j`nproc`
And it failed, reporting:
/path/to/kernel/kernel-4.9/arch/arm64/boot/dts/Makefile:132: target 'arch/arm64/boot/dts/_ddot_' given more than once in the same rule
/path/to/kernel/kernel-4.9/arch/arm64/boot/dts/Makefile:132: target 'arch/arm64/boot/dts/_ddot_' given more than once in the same rule
(the same warning repeats several times...)
cc1: fatal error: arch/arm64/boot/dts/..: No such file or directory
However, when it comes to compiling serially, no error was reported, but it was too slow for me.
My make version is 4.3, gcc version is linaro 7.3.1 and trying to compile the latest L4T (32.3.1 I think, with Linux kernel 4.9).
I’m new to kernel compiling so I might forget to post some important information. If you need anything further, tell me and I’ll supplement ASAP. Thanks in advance.
regards,
Karl
Edit: Failed in making in single process too. The error occured at the very end of the whole progress.