tools/unix: use anonymous pipes to avoid menuconfig break

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-02-20 10:57:27 +08:00 committed by Xiang Xiao
parent b6eb3c828c
commit f0825c2402

View File

@ -624,7 +624,7 @@ define kconfig_tweak_disable
kconfig-tweak --file $1 -u $2 kconfig-tweak --file $1 -u $2
endef endef
else 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_OLDCONFIG = oldconfig ${PURGE_MODULE_WARNING}
KCONFIG_OLDDEFCONFIG = olddefconfig ${PURGE_MODULE_WARNING} KCONFIG_OLDDEFCONFIG = olddefconfig ${PURGE_MODULE_WARNING}
KCONFIG_MENUCONFIG = menuconfig ${PURGE_MODULE_WARNING} KCONFIG_MENUCONFIG = menuconfig ${PURGE_MODULE_WARNING}