kopia lustrzana https://github.com/micropython/micropython
esp32/main: Allow MICROPY_DIR to be overridden.
This is necessary when building a custom out-of-tree board. Signed-off-by: Damien George <damien@micropython.org>pull/7453/head
rodzic
c99e4995fd
commit
0009a7dc30
|
@ -1,5 +1,7 @@
|
||||||
# Set location of base MicroPython directory.
|
# 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 core source components.
|
||||||
include(${MICROPY_DIR}/py/py.cmake)
|
include(${MICROPY_DIR}/py/py.cmake)
|
||||||
|
|
Ładowanie…
Reference in New Issue