From: Jan Beulich Date: Tue, 2 May 2006 10:33:20 +0000 (+0200) Subject: kbuild: Do not overwrite makefile as anohter user X-Git-Tag: v2.6.17-rc4~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd5f0cd6b0cef59ba18e5ac13be5b2775fa6ec28;p=pandora-kernel.git 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 Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed