firefox: Perform a number of cleanups and fix consistency issues.
[openembedded.git] / classes / linux-kernel-base.bbclass
index b3e0fda..510951a 100644 (file)
@@ -3,6 +3,9 @@ def get_kernelversion(p):
     import re
 
     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'