All of lore.kernel.org
 help / color / mirror / Atom feed
From: <anders.roxell@gmail.com>
To: <openembedded-core@lists.openembedded.org>
Cc: Anders Roxell <anders.roxell@enea.com>
Subject: [PATCH] linux-kernel-base: linux/version.h path update for 3.7-rc1
Date: Wed, 20 Mar 2013 14:22:36 +0100	[thread overview]
Message-ID: <1363785756-35510-1-git-send-email-anders.roxell@gmail.com> (raw)

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




             reply	other threads:[~2013-03-20 13:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 13:22 anders.roxell [this message]
2013-03-20 13:42 ` [PATCH] linux-kernel-base: linux/version.h path update for 3.7-rc1 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363785756-35510-1-git-send-email-anders.roxell@gmail.com \
    --to=anders.roxell@gmail.com \
    --cc=anders.roxell@enea.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.