lkml.org 
[lkml]   [2013]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Issue with upgrade path from include/linux/version.h to uapi
Date
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


\
 
 \ /
  Last update: 2013-04-19 20:21    [W:0.041 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site