mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 09:38:37 +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_GCONFIG = ${KCONFIG_NCONFIG}
|
||||||
KCONFIG_SAVEDEFCONFIG = savedefconfig --out
|
KCONFIG_SAVEDEFCONFIG = savedefconfig --out
|
||||||
define kconfig_tweak_disable
|
define kconfig_tweak_disable
|
||||||
sed -i '/$2/d' $1
|
$(Q) sed -i'.orig' '/$2/d' $1
|
||||||
|
$(Q) rm -f $1.orig
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user