Revert "[chore][bflb_tools] update bflb_fw_post_proc,add mac support"

This reverts commit 0418dcbf13.
This commit is contained in:
jzlv 2023-03-07 15:20:18 +08:00
parent 4277033194
commit bafc9658e7
5 changed files with 7 additions and 4 deletions

View file

@ -1,9 +1,8 @@
if(MINGW OR CYGWIN OR WIN32)
set(TOOL_SUFFIX ".exe")
elseif(UNIX)
set(TOOL_SUFFIX "-ubuntu")
elseif(APPLE)
set(TOOL_SUFFIX "-macos")
elseif(UNIX OR APPLE)
set(TOOL_SUFFIX "")
endif()
set(BL_FW_POST_PROC ${BL_SDK_BASE}/tools/bflb_tools/bflb_fw_post_proc/bflb_fw_post_proc${TOOL_SUFFIX})

View file

@ -1,3 +1,7 @@
SET(CMAKE_SYSTEM_NAME Generic)
SET(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_SYSTEM_PROCESSOR RISCV)
if(MINGW OR CYGWIN OR WIN32)
set(WHERE_CMD where)
set(TOOLCHAIN_SUFFIX ".exe")