Re: Help with some makefile hackery
- From: Dag-Erling Smørgrav <des@xxxxxx>
- Date: Fri, 25 Jun 2010 15:15:16 +0200
Patrick Mahan <mahan@xxxxxxxxx> writes:
In the top-level makefile I have the following label:
src-kernel: src-kernel-tools
cd src; ./amd64-kernel.sh 2>&1 | tee build_amd64_kernel.log
If there is a build failure with the kernel, it can be seen in the
file 'build_amd64_kernel.log'. However, the top-level make file just
continues on to the next label as if no error occurs.
Make looks at tee's exit status, not the script's.
DES
--
Dag-Erling Smørgrav - des@xxxxxx
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Help with some makefile hackery
- From: Patrick Mahan
- Re: Help with some makefile hackery
- References:
- Help with some makefile hackery
- From: Patrick Mahan
- Re: Help with some makefile hackery
- From: Dag-Erling Smørgrav
- Re: Help with some makefile hackery
- From: Patrick Mahan
- Help with some makefile hackery
- Prev by Date: Re: Help with some makefile hackery
- Next by Date: Re: Help with some makefile hackery
- Previous by thread: Re: Help with some makefile hackery
- Next by thread: Re: Help with some makefile hackery
- Index(es):
Relevant Pages
|