From c0a3e91845fad1cdda723bdcf962de8bc01f8a2d Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 22 Dec 2009 13:04:16 +0000 Subject: 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 Acked-by: Khem Raj --- classes/linux-kernel-base.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'classes/linux-kernel-base.bbclass') 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 @@ -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' -- cgit v1.2.3