mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
Fix CONFIG_LINUX_ for linux 3.0
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27184 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3da81e77a5
commit
1bd54fdefa
@ -188,7 +188,11 @@ sub target_name($) {
|
||||
sub kver($) {
|
||||
my $v = shift;
|
||||
$v =~ tr/\./_/;
|
||||
if (substr($v,0,2) eq "2_") {
|
||||
$v =~ /(\d+_\d+_\d+)(_\d+)?/ and $v = $1;
|
||||
} else {
|
||||
$v =~ /(\d+_\d+)(_\d+)?/ and $v = $1;
|
||||
}
|
||||
return $v;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user