mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 10:49:40 +08:00
Fix CONFIG_LINUX_ for linux 3.0
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 27184
This commit is contained in:
parent
45ae457825
commit
e04f68fb77
@ -188,7 +188,11 @@ sub target_name($) {
|
|||||||
sub kver($) {
|
sub kver($) {
|
||||||
my $v = shift;
|
my $v = shift;
|
||||||
$v =~ tr/\./_/;
|
$v =~ tr/\./_/;
|
||||||
$v =~ /(\d+_\d+_\d+)(_\d+)?/ and $v = $1;
|
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;
|
return $v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user