提交 0009a7dc 编写于 作者: D Damien George

esp32/main: Allow MICROPY_DIR to be overridden.

This is necessary when building a custom out-of-tree board.
Signed-off-by: NDamien George <damien@micropython.org>
上级 c99e4995
# Set location of base MicroPython directory.
get_filename_component(MICROPY_DIR ${PROJECT_DIR}/../.. ABSOLUTE)
if(NOT MICROPY_DIR)
get_filename_component(MICROPY_DIR ${PROJECT_DIR}/../.. ABSOLUTE)
endif()
# Include core source components.
include(${MICROPY_DIR}/py/py.cmake)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册