diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-08-26 19:36:33 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 11:28:12 +0100 |
commit | 42dafa0ac589370877747c6647f75ea3ab9572b6 (patch) | |
tree | 989a4acb21286cfbe6ba64d4b5abc0ec2708e683 /scripts/target-metadata.pl | |
parent | 62e7ad1d2100f0b2ea8f5ebd1dc50ac7b841967a (diff) | |
download | openwrt-42dafa0ac589370877747c6647f75ea3ab9572b6.tar.gz openwrt-42dafa0ac589370877747c6647f75ea3ab9572b6.tar.bz2 openwrt-42dafa0ac589370877747c6647f75ea3ab9572b6.zip |
build: add support for enabling the rootfs/boot partition size option via target feature
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 00f030a9c67c551e675364d73234a4cba273b420)
Diffstat (limited to 'scripts/target-metadata.pl')
-rwxr-xr-x | scripts/target-metadata.pl | 2 |
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; } |