diff options
-rw-r--r-- | meta/classes/linux-kernel-base.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/linux-kernel-base.bbclass b/meta/classes/linux-kernel-base.bbclass index b3e0fdad7a..510951a620 100644 --- a/meta/classes/linux-kernel-base.bbclass +++ b/meta/classes/linux-kernel-base.bbclass | |||
@@ -4,6 +4,9 @@ def get_kernelversion(p): | |||
4 | 4 | ||
5 | fn = p + '/include/linux/utsrelease.h' | 5 | fn = p + '/include/linux/utsrelease.h' |
6 | if not os.path.isfile(fn): | 6 | if not os.path.isfile(fn): |
7 | # after 2.6.33-rc1 | ||
8 | fn = p + '/include/generated/utsrelease.h' | ||
9 | if not os.path.isfile(fn): | ||
7 | fn = p + '/include/linux/version.h' | 10 | fn = p + '/include/linux/version.h' |
8 | 11 | ||
9 | import re | 12 | import re |