From bdfc3fb21373cca0e9865aa2ee04116ac91b57da Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Tue, 14 Nov 2006 20:19:48 +0000 Subject: [PATCH] reintroduce LINUX_2_4 and LINUX_2_6 as config variables SVN-Revision: 5534 --- scripts/gen_target_config.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gen_target_config.pl b/scripts/gen_target_config.pl index 4d0d6b13ef..10c6c2c0b2 100755 --- a/scripts/gen_target_config.pl +++ b/scripts/gen_target_config.pl @@ -40,6 +40,7 @@ while (<>) { board => $2, kernel => $3 }; + $target->{kernel} =~ tr/\./_/; push @target, $target; }; /^Target-Name:\s*(.+)\s*$/ and $target->{name} = $1; @@ -107,6 +108,7 @@ foreach $target (@target) { config LINUX_$target->{conf} bool "$target->{name}" select $target->{arch} + select LINUX_$target->{kernel} $features$help EOF -- 2.30.2