build: add support for enabling the rootfs/boot partition size option via target...
[openwrt/staging/chunkeey.git] / config / Config-images.in
index 76e64641b414c027930c01d25c393c6cd0731d55..6242e36d34b9293854176cc4097f82d2155a464c 100644 (file)
@@ -268,12 +268,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.