Well, you're downloading the Debian source package so you need to build it like a Debian package and not like an upstream kernel. I.e. simply using 'make' won't work. See https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel.
** Changed in: linux-raspi (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi in Ubuntu. https://bugs.launchpad.net/bugs/2000792 Title: Source not compile because of missing overlays directory Status in linux-raspi package in Ubuntu: Invalid Bug description: linux-raspi source code which downloaded from repository by '$ sudo apt source linux-image-5.15.0-1021-raspi' with kernel option CONFIG_STRICT_DEVMEM=n not compile by 'sudo make' The error message: scripts/Makefile.build:44: arch/arm64/boot/dts/overlays/Makefile: No such file or directory make[2]: *** No rule to make target 'arch/arm64/boot/dts/overlays/Makefile'. Stop. make[1]: *** [scripts/Makefile.build:560: arch/arm64/boot/dts/overlays] Error 2 make: *** [Makefile:1442: dtbs] Error 2 Comment: The whole overlay directory is missing Host/Target/Build: RPi4 - aarch64-linux-gnu - Ubuntu 22.04 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2000792/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp