Re: Sparc-64 kernel build fails on version.h during 'make oldconfig'

Andreas Schwab
2001-07-26T08:58:22Z

Thorsten Kukuk <kukuk@suse.de> writes:

|> No, I send you and on the sparclinux list already a patch for
|> this 2 weeks ago. The problem is, that make dep will build at first
|> sparc specific programs (archdep) which needs linux/version.h, but
|> make dep does create linux/version.h only after building this tools. The
|> following patch solved the problem for me:
|>
|> --- linux/Makefile
|> +++ linux/Makefile 2001/05/21 12:57:07
|> @@ -440,7 +440,7 @@
|> sums:
|> find . -type f -print | sort | xargs sum > .SUMS
|>
|> -dep-files: scripts/mkdep archdep include/linux/version.h
|> +dep-files: include/linux/version.h scripts/mkdep archdep

This will still fail with parallel builds. Better make the dependency of
archdep on version.h explicit.

Andreas.

--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5