diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-05-20 14:14:22 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-05-20 14:14:22 +0100 |
commit | 3da120a87247a2f8076e4e28e40615474a12bbc1 (patch) | |
tree | 4831d9de41c320663d7427a71709868541546d31 /meta/classes/linux-kernel-base.bbclass | |
parent | e30c5a29d27f424bb2ec8033bb8337d6ce54251c (diff) | |
download | openembedded-core-3da120a87247a2f8076e4e28e40615474a12bbc1.tar.gz openembedded-core-3da120a87247a2f8076e4e28e40615474a12bbc1.tar.bz2 openembedded-core-3da120a87247a2f8076e4e28e40615474a12bbc1.tar.xz openembedded-core-3da120a87247a2f8076e4e28e40615474a12bbc1.zip |
linux-kernel-base.bbclass: merge version detection updates from upstream
Kernels after 2.6.33 store the utrelease.h file, used to detect the kernels
version, in a different location.
Merged from oe.dev
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes/linux-kernel-base.bbclass')
-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 b3e0fdad7..510951a62 100644 --- a/meta/classes/linux-kernel-base.bbclass +++ b/meta/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 |