Messages in this thread | | | From | David Howells <> | Subject | Re: Issue with upgrade path from include/linux/version.h to uapi | Date | Fri, 19 Apr 2013 19:05:31 +0100 |
| |
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
| |