Re: Help with some makefile hackery



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"



Relevant Pages