diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-04 17:52:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-04-04 17:52:02 +0000 |
commit | 71f35a88e4666f4f310efb4563ebfce54045636f (patch) | |
tree | 6616a4a2ca0d182e25f87cf78c5a57dc81add581 /package/utils/busybox/convert_menuconfig.pl | |
parent | 0732f91d5507073d2e175e8a5dc30a3cd22f2761 (diff) | |
download | upstream-71f35a88e4666f4f310efb4563ebfce54045636f.tar.gz upstream-71f35a88e4666f4f310efb4563ebfce54045636f.tar.bz2 upstream-71f35a88e4666f4f310efb4563ebfce54045636f.zip |
busybox: update to version 1.23.2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/utils/busybox/convert_menuconfig.pl')
-rwxr-xr-x | package/utils/busybox/convert_menuconfig.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/utils/busybox/convert_menuconfig.pl b/package/utils/busybox/convert_menuconfig.pl index cc4802a61c..fd99349b65 100755 --- a/package/utils/busybox/convert_menuconfig.pl +++ b/package/utils/busybox/convert_menuconfig.pl @@ -41,6 +41,14 @@ while (<FIND>) { undef $default_set; } $line =~ s/^(\s*source\s+)/$1package\/utils\/busybox\/config\//; + if ($line =~ /^(\s*range\s*)(\w+)(\s+)(\w+)\s*$/) { + my $prefix = $1; + my $r1 = $2; + my $r2 = $4; + $r1 =~ s/^([a-zA-Z]+)/BUSYBOX_CONFIG_$1/; + $r2 =~ s/^([a-zA-Z]+)/BUSYBOX_CONFIG_$1/; + $line = "$prefix$r1 $r2\n"; + } $line =~ s/^(\s*(prompt "[^"]+" if|config|depends|depends on|select|default|default \w if)\s+\!?)([A-Z_])/$1BUSYBOX_CONFIG_$3/g; $line =~ s/(( \|\| | \&\& | \( )!?)([A-Z_])/$1BUSYBOX_CONFIG_$3/g; |