summaryrefslogtreecommitdiff
path: root/v4l/scripts/make_kconfig.pl
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2006-09-01 14:45:49 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2006-09-01 14:45:49 -0700
commit0935e7b9736f0c6d9699bc20a77e053a3527b366 (patch)
tree6a991a956c314c2f5eae17e603cada46e663fcae /v4l/scripts/make_kconfig.pl
parentc2e9b3f5319099348a3dae4e963f9f31d648b3c8 (diff)
downloadmediapointer-dvb-s2-0935e7b9736f0c6d9699bc20a77e053a3527b366.tar.gz
mediapointer-dvb-s2-0935e7b9736f0c6d9699bc20a77e053a3527b366.tar.bz2
Fix bug in build system dependency evaluator
From: Trent Piepho <xyzzy@speakeasy.org> A subtle bug in the code that changed Kconfig depends expressions into Perl expressions would keep changes to Kconfig variables from propagating. The subroutine was supposed to change a _copy_ of the expression from Kconfig to Perl syntax, but was changing the expression itself. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'v4l/scripts/make_kconfig.pl')
-rwxr-xr-xv4l/scripts/make_kconfig.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l/scripts/make_kconfig.pl b/v4l/scripts/make_kconfig.pl
index 6f1b108c1..c2c6342d9 100755
--- a/v4l/scripts/make_kconfig.pl
+++ b/v4l/scripts/make_kconfig.pl
@@ -211,7 +211,7 @@ sub checkdeps()
# Convert a Kconfig expression to a Perl expression
sub toperl($)
{
- $_ = shift;
+ local $_ = shift;
# Turn n,m,y into 0,1,2
s/\bn\b/0/g; s/\bm\b/1/g; s/\by\b/2/g;