summaryrefslogtreecommitdiff
path: root/classes/linux-kernel-base.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2009-12-22 13:04:16 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2009-12-23 09:11:25 +0100
commitc0a3e91845fad1cdda723bdcf962de8bc01f8a2d (patch)
treea9c51616882a2e00177e84cf777a6963c99096a3 /classes/linux-kernel-base.bbclass
parentc3bfaaa2b9b5e6b9595758a4d2ed05940bf20722 (diff)
kernel, linux-kernel-base classes: update for 2.6.33-rc1 and newer
* include/asm link was killed in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f7f16b7799ed68654850ab340ef812895aebcf4c * utsrelease.h was moved in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=273b281fa22c293963ee3e6eec418f5dda2dbc83 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
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