mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
tools/Unix.mk: Make sed compatible with macOS
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Co-authored-by: chao an <anchao@xiaomi.com>
This commit is contained in:
+2
-1
@@ -629,7 +629,8 @@ else
|
||||
KCONFIG_GCONFIG = ${KCONFIG_NCONFIG}
|
||||
KCONFIG_SAVEDEFCONFIG = savedefconfig --out
|
||||
define kconfig_tweak_disable
|
||||
sed -i '/$2/d' $1
|
||||
$(Q) sed -i'.orig' '/$2/d' $1
|
||||
$(Q) rm -f $1.orig
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user