]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Automatically remove stale <linux/version.h> file
authorMichal Marek <mmarek@suse.cz>
Thu, 27 Nov 2014 15:13:17 +0000 (16:13 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 28 Nov 2014 15:39:05 +0000 (16:39 +0100)
commit6df7b61005f1838fddfcb0fbf1c46d4e884837ac
tree7278ff181f43f71e21005365eedb41e5891f3258
parent032e688f6fdd4378b113d3f1661f2cb95366af4d
kbuild: Automatically remove stale <linux/version.h> file

In 3.7, the file moved from include/linux/ to
include/generated/uapi/linux/. The path in the #include directive
remained the same for compatibility reasons, but this created a problem
when bisecting. Commit 714de831 (kbuild: unconditionally clobber
include/linux/version.h on distclean) fixes this, provided the user does
make distclean between builds. Better not rely on the user and delete
the stale file each time make is invoked.

Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile