public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: dhowells@redhat.com, Arnd Bergmann <arnd@arndb.de>,
	Thomas Gleixner <tglx@linutronix.de>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Dave Jones <davej@redhat.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: Issue with upgrade path from include/linux/version.h to uapi
Date: Fri, 19 Apr 2013 19:05:31 +0100	[thread overview]
Message-ID: <29752.1366394731@warthog.procyon.org.uk> (raw)
In-Reply-To: <20130419173434.GA15612@Krystal>

Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:

> This leads to very unfortunate consequences for any user relying on
> version.h to expose the kernel version accurately, since the old "stale"
> kernel version will be seen by the build.
> 
> Sadly, make clean does not even take care of removing this stale file.

I wonder if a simple approach would work - just add:

	$(shell rm include/linux/version.h)

to an appropriate header, perhaps the top-level Makefile.

Failing that, it might be worth adding it to the make-clean list.

David

      reply	other threads:[~2013-04-19 18:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19 17:34 Issue with upgrade path from include/linux/version.h to uapi Mathieu Desnoyers
2013-04-19 18:05 ` David Howells [this message]

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=29752.1366394731@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=arnd@arndb.de \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox