From: Mike Baker Date: Tue, 14 Nov 2006 20:19:48 +0000 (+0000) Subject: reintroduce LINUX_2_4 and LINUX_2_6 as config variables X-Git-Tag: reboot~30456 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;ds=sidebyside;h=bdfc3fb21373cca0e9865aa2ee04116ac91b57da;p=lede-git%2F.git reintroduce LINUX_2_4 and LINUX_2_6 as config variables SVN-Revision: 5534 --- 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