aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/convert_menuconfig.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-03 11:38:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-03 11:38:31 +0000
commitd329920be50c23e2419002d027a8ec13e394dd45 (patch)
treea0d649367fc310e8ba1b5a1cb9d1883eb1f52f3a /package/utils/busybox/convert_menuconfig.pl
parentdf225c3a3395746d4aed662a3c61a61aab2d7d80 (diff)
downloadmaster-187ad058-d329920be50c23e2419002d027a8ec13e394dd45.tar.gz
master-187ad058-d329920be50c23e2419002d027a8ec13e394dd45.tar.bz2
master-187ad058-d329920be50c23e2419002d027a8ec13e394dd45.zip
busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48078 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/utils/busybox/convert_menuconfig.pl')
-rwxr-xr-xpackage/utils/busybox/convert_menuconfig.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/convert_menuconfig.pl b/package/utils/busybox/convert_menuconfig.pl
index 7342fbd8a1..70518809aa 100755
--- a/package/utils/busybox/convert_menuconfig.pl
+++ b/package/utils/busybox/convert_menuconfig.pl
@@ -41,7 +41,7 @@ while (<FIND>) {
undef $cur;
undef $default_set;
}
- $line =~ s/^(\s*source\s+)/$1package\/utils\/busybox\/config\//;
+ $line =~ s/^(\s*source\s+)([^\/]+\/)*([^\/]+\/[^\/]+)$/$1$3/;
if ($line =~ /^(\s*range\s*)(\w+)(\s+)(\w+)\s*$/) {
my $prefix = $1;
my $r1 = $2;