cmake: flash: Update WEST_DIR path
West >= 0.7.0 moved main.py into app dir Signed-off-by: Emil Hammarstrom <emil.a.hammarstrom@gmail.com>
This commit is contained in:
parent
79a58ddffa
commit
86116f090a
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ if(DEFINED ENV{WEST_DIR} AND NOT WEST_DIR)
|
|||
endif(DEFINED ENV{WEST_DIR} AND NOT WEST_DIR)
|
||||
|
||||
if(WEST_DIR)
|
||||
set(WEST "PYTHONPATH=${WEST_DIR}/src" "${PYTHON_EXECUTABLE};${WEST_DIR}/src/west/main.py;--zephyr-base=$ENV{ZEPHYR_BASE} ")
|
||||
set(WEST "PYTHONPATH=${WEST_DIR}/src" "${PYTHON_EXECUTABLE};${WEST_DIR}/src/west/app/main.py;--zephyr-base=$ENV{ZEPHYR_BASE} ")
|
||||
endif()
|
||||
|
||||
# Generate the flash, debug, debugserver, attach targets within the build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue