mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Since commitcb4f11a696("linux: handle empty BR2_LINUX_KERNEL_IMAGE_TARGET_NAME situation"), we error out if BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y but BR2_LINUX_KERNEL_IMAGE_TARGET_NAME is empty, which is exactly the case of the RISC-V configurations being fixed by this commit. They define the BR2_LINUX_KERNEL_IMAGE_NAME variable, but not BR2_LINUX_KERNEL_IMAGE_TARGET_NAME, while BR2_LINUX_KERNEL_IMAGE_NAME will automatically default to BR2_LINUX_KERNEL_IMAGE_TARGET_NAME if BR2_LINUX_KERNEL_IMAGE_NAME is not provided. It probably used to work because specifying an empty make target was generating the right images, and they did have the name specified in BR2_LINUX_KERNEL_IMAGE_TARGET_NAME. But with the additional check added incb4f11a696this scenario is no longer supported. Fixes: canaan_kd233 | https://gitlab.com/buildroot.org/buildroot/-/jobs/11012273088 sipeed_maix_bit | https://gitlab.com/buildroot.org/buildroot/-/jobs/11026771237 sipeed_maix_bit_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/11026771342 sipeed_maix_dock | https://gitlab.com/buildroot.org/buildroot/-/jobs/11026771387 sipeed_maix_dock_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/11026771472 sipeed_maix_go | https://gitlab.com/buildroot.org/buildroot/-/jobs/11026771505 sipeed_maix_go_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/11026771581 sipeed_maixduino | https://gitlab.com/buildroot.org/buildroot/-/jobs/11026771663 sipeed_maixduino_sdcard | https://gitlab.com/buildroot.org/buildroot/-/jobs/11026771885 Cc: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Julien Olivain <ju.o@free.fr>
1.4 KiB
1.4 KiB