Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 2010 04:55:57 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216685 - head
Message-ID:  <201012240455.oBO4tvJ4079108@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.

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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012240455.oBO4tvJ4079108>