cancel
Showing results for 
Search instead for 
Did you mean: 

Errors on building the Linux® kernel source code

RWeng.1
Associate II

Hi, I got the result as below while I was building kernel images (uImage and vmlinux) and device tree (dtbs). Can anyone help me fix it?

$ make ARCH=arm uImage vmlinux dtbs LOADADDR=0xC2000040

 GEN   Makefile

 CALL  /home/rickweng/STM32MPU_workspace/STM32MP15-Ecosystem-v3.1.0/Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.61-stm32mp-r2-r0/linux-5.10.61/scripts/checksyscalls.sh

 CALL  /home/rickweng/STM32MPU_workspace/STM32MP15-Ecosystem-v3.1.0/Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.61-stm32mp-r2-r0/linux-5.10.61/scripts/atomic/check-atomics.sh

 CHK   include/generated/compile.h

make[3]: *** No rule to make target 'drivers/cpuidle/cpuidle-stm32.o', needed by 'drivers/cpuidle/built-in.a'. Stop.

I wonder why there's no rule to make target. I didn't do any modification and just followed the instructions in the README.HOW_TO.txt. Thanks for any help.

10 REPLIES 10

Hi Kevin,

Sorry for late and thanks for your recommendation. I will try again.

Thanks and Best Regards,

Rick