[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <29752.1366394731@warthog.procyon.org.uk>
Date: Fri, 19 Apr 2013 19:05:31 +0100
From: David Howells <dhowells@...hat.com>
To: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: dhowells@...hat.com, Arnd Bergmann <arnd@...db.de>,
Thomas Gleixner <tglx@...utronix.de>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Dave Jones <davej@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: Issue with upgrade path from include/linux/version.h to uapi
Mathieu Desnoyers <mathieu.desnoyers@...icios.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists