diff --git a/tools/Unix.mk b/tools/Unix.mk index a68ddb9d0b9..03f18d67241 100644 --- a/tools/Unix.mk +++ b/tools/Unix.mk @@ -624,7 +624,7 @@ define kconfig_tweak_disable kconfig-tweak --file $1 -u $2 endef else - PURGE_MODULE_WARNING = 2>&1 | grep -v "warning: the 'modules' option is not supported" + PURGE_MODULE_WARNING = 2> >(grep -v "warning: the 'modules' option is not supported") KCONFIG_OLDCONFIG = oldconfig ${PURGE_MODULE_WARNING} KCONFIG_OLDDEFCONFIG = olddefconfig ${PURGE_MODULE_WARNING} KCONFIG_MENUCONFIG = menuconfig ${PURGE_MODULE_WARNING}