aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-08-26 19:36:33 +0200
committerFelix Fietkau <nbd@nbd.name>2018-09-03 12:06:24 +0200
commit00f030a9c67c551e675364d73234a4cba273b420 (patch)
treefb2112e83f865c5b6badc5a00b7a8ed871486bb5 /scripts
parent7165378d19a8a76b3182b95681af61d2bc93a74c (diff)
downloadupstream-00f030a9c67c551e675364d73234a4cba273b420.tar.gz
upstream-00f030a9c67c551e675364d73234a4cba273b420.tar.bz2
upstream-00f030a9c67c551e675364d73234a4cba273b420.zip
build: add support for enabling the rootfs/boot partition size option via target feature
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/target-metadata.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index cbc3403a05..ef0a34eb4f 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -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;
}