Make TOOLS_DIR if needed
Added some extra dir names to gitignore
This commit is contained in:
parent
186fee9337
commit
1f243aeedb
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -1,11 +1,13 @@
|
|||
.idea/
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
CMakeFiles/
|
||||
cmake-build-*
|
||||
cmake-*
|
||||
CMakeFiles
|
||||
**/CMakeCache.txt
|
||||
cmake_install.cmake
|
||||
Makefile
|
||||
build/
|
||||
build
|
||||
tools
|
||||
|
||||
# Resulting binary files
|
||||
*.a
|
||||
|
|
|
@ -20,6 +20,9 @@ MACHINE="$(uname -m)"
|
|||
|
||||
main() {
|
||||
local target="$1"
|
||||
|
||||
mkdir -p "$TOOLS_DIR"
|
||||
|
||||
[[ ! -d "$TOOLS_DIR/$GCC_ARM_VER" ]] && GetGcc
|
||||
[[ ! -d "$TOOLS_DIR/$NRF_SDK_VER" ]] && GetNrfSdk
|
||||
[[ ! -d "$TOOLS_DIR/mcuboot" ]] && GetMcuBoot
|
||||
|
|
Loading…
Reference in a new issue