diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2006-09-01 14:45:49 -0700 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2006-09-01 14:45:49 -0700 |
commit | 0935e7b9736f0c6d9699bc20a77e053a3527b366 (patch) | |
tree | 6a991a956c314c2f5eae17e603cada46e663fcae /v4l/scripts/make_kconfig.pl | |
parent | c2e9b3f5319099348a3dae4e963f9f31d648b3c8 (diff) | |
download | mediapointer-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-x | v4l/scripts/make_kconfig.pl | 2 |
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; |