Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2010 10:05:16 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Warner Losh <imp@freebsd.org>
Subject:   Re: svn commit: r216685 - head
Message-ID:  <4D1A18CC.40604@bsdimp.com>
In-Reply-To: <20101226202125.C6126@maildrop.int.zabbadoz.net>
References:  <201012240455.oBO4tvJ4079108@svn.freebsd.org> <20101226202125.C6126@maildrop.int.zabbadoz.net>

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




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