fix(firmware-build): support CCS artifact paths and bootstrap identity config
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -16,6 +16,13 @@ if "%~2"=="" goto usage
|
||||
if "%~3"=="" goto usage
|
||||
if "%~4"=="" goto usage
|
||||
if not "%~5"=="" goto usage
|
||||
rem Create the editable project configuration once; never overwrite user settings.
|
||||
if not exist "%~f3" (
|
||||
copy /Y "%~dp0firmware_identity.example.json" "%~f3" >nul
|
||||
if errorlevel 1 exit /b 2
|
||||
echo [firmware-build] Created configuration: "%~f3"
|
||||
echo [firmware-build] Edit product, target and version in this file, then rebuild.
|
||||
)
|
||||
python "%~dp0..\..\..\c\firmware-info\tools\identity.py" prepare --repository "%~f2" --templates "%~dp0..\..\.." --config "%~f3" --output "%~f4"
|
||||
exit /b %errorlevel%
|
||||
:usage
|
||||
|
||||
Reference in New Issue
Block a user