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

From: Andreas Schwab (schwab@suse.de)
Date: Thu Jul 26 2001 - 03:58:01 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:26 EST