cancel
Showing results for 
Search instead for 
Did you mean: 

make[1]: *** No rule to make target 'Image.gz'. Stop.

Galahad25
Visitor

I've followed the READMEs for the installation of the dev package, source, and kernel and generated a build folder for the kernel as suggested at

~/st/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sdk/Developer-Package/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sources/aarch64-ostl-linux/linux-stm32mp-6.6.48-stm32mp-r1-r0/build

In the build folder I see folders include, scripts, a link to source as well as files Makefile, .config .config.old, and .gitignore. When I run

make ${IMAGE_KERNEL} vmlinux dtbs LOADADDR=0xC2000040 O="${OUTPUT_BUILD_DIR}"

I get

make[1]: *** No rule to make target 'Image.gz'. Stop.
make: *** [/home/lelory/st/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sdk/Developer-Package/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sources/aarch64-ostl-linux/linux-stm32mp-6.6.48-stm32mp-r1-r0/linux-6.6.48/Makefile:234: __sub-make] Error 2

What am I doing wrong?

1 REPLY 1
PatrickF
ST Employee

Hi,

did the SDK correctly installed and the environment sourced ?

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-EV1/Develop_on_Arm%C2%AE_Cortex%C2%AE-A35/Install_the_SDK#Start_the_SDK_up

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.