SOLVED Problem cross-compiling
- 
					
					
					
					
 As the raspberry folks have released a new kernel (20210430), I'm trying to compile the drivers for a new camera of @MK. Following the instructions, at the last build command I get the error: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs -j2 make[2]: *** No rule to make target 'arch/arm/boot/dts/overlays/csimx307-overlay.dtbo', needed by '__build'. Stop. make[1]: *** [scripts/Makefile.build:496: arch/arm/boot/dts/overlays] Error 2What am I doing wrong? I've double checked that I did the four steps: - add driver sources
- update Makefile and Kconfig
- add dts files
- change Makefile in dts folder
 
- 
					
					
					
					
 @tj said in Problem cross-compiling: change Makefile in dts folder You should edit this file: 
 arch\arm\boot\dts\overlays\Makefileveye327.dtbo \ csimx307.dtbo \ cssc132.dtbo \
- 
					
					
					
					
 @veye_xumm Thanks for having a look. I had already added those lines. However I still get the error. 
- 
					
					
					
					
 @tj please attach your Makefile let me take a look at it. 
- 
					
					
					
					
 @veye_xumm Thanks for the offer. While posting the Makefile I noticed I had -overlay.dtbo in the filenames. Compiling now. 
