fix make on darwin

This commit is contained in:
Madushan Nishantha 2020-11-01 18:06:05 +01:00
parent fefda8399b
commit dd78919310
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
# flash_build.py dependencies
fdt>=0.2.0
pycryptodomex>=3.9.8
toml>=0.10.2
configobj>=5.0.6

View File

@ -187,8 +187,8 @@ all:
ifeq ("$(OS)","Windows_NT")
else
ifeq ("$(CONFIG_CHIP_NAME)", "BL602")
#@cd $(BL60X_SDK_PATH)/image_conf; python3 flash_build.py $(PROJECT_NAME) $(CONFIG_CHIP_NAME)
@cd $(BL60X_SDK_PATH)/image_conf; ./flash_build $(PROJECT_NAME) $(CONFIG_CHIP_NAME)
@cd $(BL60X_SDK_PATH)/image_conf;python3 -m pip install -r requirements.txt; python3 flash_build.py $(PROJECT_NAME) $(CONFIG_CHIP_NAME)
#@cd $(BL60X_SDK_PATH)/image_conf; ./flash_build $(PROJECT_NAME) $(CONFIG_CHIP_NAME)
endif
endif
@echo "Building Finish. To flash build output."