mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +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:
parent
6b61b5ed15
commit
e334786f81
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue