]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kbuild: fix building with redirected output.
authorSam Ravnborg <sam@ravnborg.org>
Thu, 6 Dec 2007 21:20:11 +0000 (22:20 +0100)
committerSam Ravnborg <sam@saturn.ravnborg.org>
Sun, 9 Dec 2007 07:43:42 +0000 (08:43 +0100)
commit1cacc9ab8bf10e60b3ed93d7a10b070c4cbc6c9f
tree2cd03edf980a9f9cbb71d2e33d516260705668ce
parent94545baded0bfbabdc30a3a4cb48b3db479dd6ef
kbuild: fix building with redirected output.

Jan Altenberg <jan.altenberg@linutronix.de> 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 <sam@ravnborg.org>
Makefile