diff --git a/tools/Unix.mk b/tools/Unix.mk index 90d90263d9..38868bca1d 100644 --- a/tools/Unix.mk +++ b/tools/Unix.mk @@ -648,7 +648,7 @@ else rm kwarning; \ fi MODULE_WARNING = "warning: the 'modules' option is not supported" - PURGE_MODULE_WARNING = 2> >(grep -v ${MODULE_WARNING} | tee kwarning) && ${KCONFIG_WARNING} + PURGE_MODULE_WARNING = 2>&1 >/dev/null | grep -v ${MODULE_WARNING} | tee kwarning && ${KCONFIG_WARNING} KCONFIG_OLDCONFIG = oldconfig ${PURGE_MODULE_WARNING} KCONFIG_OLDDEFCONFIG = olddefconfig ${PURGE_MODULE_WARNING} KCONFIG_MENUCONFIG = menuconfig ${PURGE_MODULE_WARNING}