From: Sam Ravnborg Date: Thu, 6 Dec 2007 21:20:11 +0000 (+0100) Subject: kbuild: fix building with redirected output. X-Git-Tag: v2.6.24-rc5~20^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cacc9ab8bf10e60b3ed93d7a10b070c4cbc6c9f;p=pandora-kernel.git kbuild: fix building with redirected output. Jan Altenberg reported that building with redirected input like this failed: make O=dir oldconfig bzImage < /dev/null The problem were caused by a make silentoldconfig being run before oldconfig and with a non-recent .config the build failed because silentoldconfig requires non-redirected stdin. Silentoldconfig was run as a side-effect of having the top-level Makefile re-made by make. Introducing an empty rule for the top-level Makefile (and Kbuild.include) fixed the issue. Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed