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?
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 \
--
Bjoern A. Zeeb Welcome a new stage of life.
<ks> Going to jail sucks -- <bz> All my daemons like it!
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"