Merge pull request #62 from madushan1000/master

Fix make on darwin
This commit is contained in:
Marek Kraus 2020-11-01 18:37:07 +01:00 committed by GitHub
commit 756b4c7012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
# MacOS
.DS_Store
__pycache__

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."