All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux-kernel-base: linux/version.h path update for 3.7-rc1
@ 2013-03-20 13:22 anders.roxell
  2013-03-20 13:42 ` Bruce Ashfield
  0 siblings, 1 reply; 6+ messages in thread
From: anders.roxell @ 2013-03-20 13:22 UTC (permalink / raw)
  To: openembedded-core; +Cc: Anders Roxell

From: Anders Roxell <anders.roxell@enea.com>

In mainline kernel 3.7-rc1 (hash:abbf1590de22a6d22)
The path include/linux/version.h was updated to
include/generated/uapi/linux/version.h

Signed-off-by: Anders Roxell <anders.roxell@enea.com>
---
 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 4f2b0a4..b7d0ffa 100644
--- a/meta/classes/linux-kernel-base.bbclass
+++ b/meta/classes/linux-kernel-base.bbclass
@@ -8,6 +8,9 @@ def get_kernelversion(p):
         fn = p + '/include/generated/utsrelease.h'
     if not os.path.isfile(fn):
         fn = p + '/include/linux/version.h'
+    if not os.path.isfile(fn):
+        # after 3.7-rc1
+        fn = p + '/include/generated/uapi/linux/version.h'
 
     import re
     try:
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-27 12:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 13:22 [PATCH] linux-kernel-base: linux/version.h path update for 3.7-rc1 anders.roxell
2013-03-20 13:42 ` Bruce Ashfield
2013-03-20 14:55   ` Anders Roxell
2013-03-20 15:30     ` Bruce Ashfield
2013-03-27  9:25       ` Anders Roxell
2013-03-27 12:42         ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.