mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 15:04:19 +00:00
e03b102af2
Ignoring FBT_NO_SYNC
16 lines
412 B
Batchfile
16 lines
412 B
Batchfile
@echo off
|
|
call "%~dp0scripts\toolchain\fbtenv.cmd" env
|
|
|
|
set SCONS_EP=%~dp0\lib\scons\scripts\scons.py
|
|
|
|
if [%FBT_NO_SYNC%] == [] (
|
|
if exist ".git" (
|
|
git submodule update --init
|
|
) else (
|
|
echo Not in a git repo, please clone with git clone --recursive
|
|
exit /b 1
|
|
)
|
|
)
|
|
|
|
set "SCONS_DEFAULT_FLAGS=-Q --warn=target-not-built"
|
|
python lib\scons\scripts\scons.py %SCONS_DEFAULT_FLAGS% %*
|