1. 编译时没有使用 macOS 系统自带 stat 的报错
stat '%s', no suck file or directory

原因是安装了brew的gnu stat,而build使用的是macOS的stat,所以需要设置绝对路径
修改build/core/combo/HOST_drawin-x86
将原本的

define get-file-size
stat -f "%z" $(1)
endef

替换为

define get-file-size
/usr/bin/stat -f "%z" $(1)
endef
Last modification:September 24, 2019
If you think my article is useful to you, please feel free to appreciate