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>
23 lines
767 B
Plaintext
23 lines
767 B
Plaintext
BR2_riscv=y
|
|
BR2_riscv_custom=y
|
|
BR2_RISCV_ISA_RVM=y
|
|
BR2_RISCV_ISA_RVA=y
|
|
BR2_RISCV_ISA_RVF=y
|
|
BR2_RISCV_ISA_RVD=y
|
|
BR2_RISCV_ISA_RVC=y
|
|
# BR2_RISCV_USE_MMU is not set
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
|
|
BR2_INIT_TINYINIT=y
|
|
# BR2_TARGET_ENABLE_ROOT_LOGIN is not set
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/maix-dock/linux-cpio.config"
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="loader.bin"
|
|
BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.config"
|
|
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
|
BR2_TARGET_ROOTFS_INITRAMFS=y
|
|
BR2_PACKAGE_HOST_PYTHON_KFLASH=y
|