build: add support for enabling the rootfs/boot partition size option via target...
[openwrt/openwrt.git] / scripts / target-metadata.pl
index cbc3403a057086bb5eba57a565601ae4e8b62c28..ef0a34eb4ffae2fe9b8b50d6b4295600eee6f2f3 100755 (executable)
@@ -40,6 +40,8 @@ sub target_config_features(@) {
                /^small_flash$/ and $ret .= "\tselect SMALL_FLASH\n";
                /^nand$/ and $ret .= "\tselect NAND_SUPPORT\n";
                /^virtio$/ and $ret .= "\tselect VIRTIO_SUPPORT\n";
+               /^rootfs-part$/ and $ret .= "\tselect USES_ROOTFS_PART\n";
+               /^boot-part$/ and $ret .= "\tselect USES_BOOT_PART\n";
        }
        return $ret;
 }