by / RT-Kernel

How to compile the 64-bit RT-kernel for Raspberry Pi
34 stars 2 forks source link

Fails due to README target in Makefile #6

Closed adminy closed 4 months ago

adminy commented 4 months ago

I'm trying to compile the latest kernel from rpi, and its failing over the strangest of errors.

make[2]: *** No rule to make target '/nix/store/85v9wvi4giwm6ch4vzpfygsc76nrgkrw-linux-rpi-6.10.0-rc5/dtbs/../arch/arm64/boot/dts/overlays/README', needed by '__dtbs_install'.  Stop.
make[2]: *** Waiting for unfinished jobs....
  INSTALL /nix/store/85v9wvi4giwm6ch4vzpfygsc76nrgkrw-linux-rpi-6.10.0-rc5/dtbs/overlays/hat_map.dtb
make[1]: *** [/tmp/nix-build-linux-rpi-6.10.0-rc5.drv-0/source/Makefile:1423: dtbs_install] Error 2
make[1]: *** Waiting for unfinished jobs....
'System.map' -> '/nix/store/85v9wvi4giwm6ch4vzpfygsc76nrgkrw-linux-rpi-6.10.0-rc5/System.map'
make: *** [../Makefile:240: __sub-make] Error 2
by commented 4 months ago

I'm sorry to hear that; does the standard kernel (i.e., without RT-patch) from the official repo at https://github.com/raspberrypi/linux/tree/rpi-6.10.y compile properly?

by commented 4 months ago

Closed here and moved upstream to https://github.com/raspberrypi/linux/issues/6240