diff --git a/utils/genrandconfig b/utils/genrandconfig index 89ad53ca4c..60ef8739cc 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -385,6 +385,9 @@ def fixup_config(sysinfo, configfile): if 'BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n' in configlines: configlines.remove('BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y\n') configlines.append('BR2_LINUX_KERNEL_ZIMAGE=y\n') + if 'BR2_LINUX_KERNEL_CUIMAGE=y\n' in configlines: + configlines.remove('BR2_LINUX_KERNEL_CUIMAGE=y\n') + configlines.append('BR2_LINUX_KERNEL_UIMAGE=y\n') if 'BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n' in configlines: configlines.remove('BR2_LINUX_KERNEL_SIMPLEIMAGE=y\n') configlines.append('BR2_LINUX_KERNEL_VMLINUX=y\n')