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.
This commit is contained in:
Warner Losh 2010-12-24 04:55:56 +00:00
parent 72497ecf7e
commit 5f523ccd1c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216685

View File

@ -350,8 +350,8 @@ KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \
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 \