tools/patch: apply upstream patch for cve-2019-13638
[openwrt/openwrt.git] / config / Config-images.in
index 90e873edb8ead8ed21d3a8e159175ffc3a9867cf..afdbdc4079a09bb4627c362669fcc483d1d3493d 100644 (file)
@@ -259,12 +259,12 @@ menu "Target Images"
 
        config TARGET_KERNEL_PARTSIZE
                int "Kernel partition size (in MB)"
-               depends on GRUB_IMAGES
+               depends on GRUB_IMAGES || USES_BOOT_PART
                default 16
 
        config TARGET_ROOTFS_PARTSIZE
                int "Root filesystem partition size (in MB)"
-               depends on GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532 || TARGET_mvebu || TARGET_uml
+               depends on GRUB_IMAGES || USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_rb532 || TARGET_mvebu || TARGET_uml
                default 256
                help
                  Select the root filesystem partition size.