build: add support for enabling the rootfs/boot partition size option via target feature

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2018-08-26 19:36:33 +02:00
parent 7165378d19
commit 00f030a9c6
3 changed files with 10 additions and 2 deletions

View File

@@ -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;
}