]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Do not overwrite makefile as anohter user
authorJan Beulich <jbeulich@novell.com>
Tue, 2 May 2006 10:33:20 +0000 (12:33 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Mon, 8 May 2006 04:55:32 +0000 (06:55 +0200)
commitc6ba34f7a4f49fcd2dbe1ffdf038add5a6aa2f64
tree3ae3209f1846261c9a455339ddcd40d16cd2bf99
parentc97ed3f9a79a6d37c24c3fc9ce5164254bf44d99
kbuild: Do not overwrite makefile as anohter user

Change the conditional of the outputmakefile rule to be evaluated entirely
in make, and add a conditional to not touch the generated makefile when e.g.
running 'make install' as root while the build was done as non-root. Also
adjust the comment describing this, and move the message printing and
redirection to mkmakefile.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile
scripts/mkmakefile