On 12/26/2010 13:23, Bjoern A. Zeeb wrote:
On Fri, 24 Dec 2010, Warner Losh wrote:
Author: imp
Date: Fri Dec 24 04:55:56 2010
New Revision: 216685
URL: http://svn.freebsd.org/changeset/base/216685
Log:
Redirect stderr from config to /dev/null. config -m is printing lots
of annoying warnings when dealing with arm. The arm config files need
to be fixed, but this restricts the output to a more useful place.
I'll assume these are the warning about duplicate devices and options.
Would we get the same warnings again when actually running config on
the kernel config files and will they then go to the logs?
You'll get them again, and they will go to the appropriate
_.$MACHINE.$KERNEL log file. They should be fixed, of course, but they
shouldn't be in this output...
Also, the warnings turned out to not be from the arm kernels at all...
Warner
Modified:
head/Makefile
Modified: head/Makefile
==============================================================================
--- head/Makefile Fri Dec 24 04:52:53 2010 (r216684)
+++ head/Makefile Fri Dec 24 04:55:56 2010 (r216685)
@@ -350,8 +350,8 @@ KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/
universe_kernconfs:
.for kernel in ${KERNCONFS}
TARGET_ARCH_${kernel}!= cd ${.CURDIR}/sys/${TARGET}/conf && \
- config -m ${.CURDIR}/sys/${TARGET}/conf/${kernel} | \
- cut -f 2
+ config -m ${.CURDIR}/sys/${TARGET}/conf/${kernel} 2> /dev/null | \
+ cut -f 2
universe_kernconfs: universe_kernconf_${TARGET}_${kernel}
universe_kernconf_${TARGET}_${kernel}:
@(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"