summaryrefslogtreecommitdiff
path: root/classes/linux-kernel-base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/linux-kernel-base.bbclass')
-rw-r--r--classes/linux-kernel-base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/linux-kernel-base.bbclass b/classes/linux-kernel-base.bbclass
index b3e0fdad7a..510951a620 100644
--- a/classes/linux-kernel-base.bbclass
+++ b/classes/linux-kernel-base.bbclass
@@ -4,6 +4,9 @@ def get_kernelversion(p):
fn = p + '/include/linux/utsrelease.h'
if not os.path.isfile(fn):
+ # after 2.6.33-rc1
+ fn = p + '/include/generated/utsrelease.h'
+ if not os.path.isfile(fn):
fn = p + '/include/linux/version.h'
import re