Add embedded storage drivers and extend firmware metadata
This commit is contained in:
@@ -92,10 +92,12 @@ if not defined FW_SETGUI_ROOT_ABS (
|
||||
echo Set FW_SETGUI_ROOT in %FW_CONFIG%
|
||||
exit /b 2
|
||||
)
|
||||
set "FW_SETGUI_PUBLISHER=%FW_SETGUI_ROOT_ABS%\PUBLISH_FIRMWARE.bat"
|
||||
set "FW_SETGUI_PUBLISHER=%FW_SETGUI_ROOT_ABS%\buildb_bat\PUBLISH_FIRMWARE.bat"
|
||||
if not exist "%FW_SETGUI_PUBLISHER%" set "FW_SETGUI_PUBLISHER=%FW_SETGUI_ROOT_ABS%\PUBLISH_FIRMWARE.bat"
|
||||
if not exist "%FW_SETGUI_PUBLISHER%" (
|
||||
echo ERROR: SETGUI publisher not found:
|
||||
echo %FW_SETGUI_PUBLISHER%
|
||||
echo %FW_SETGUI_ROOT_ABS%\buildb_bat\PUBLISH_FIRMWARE.bat
|
||||
echo %FW_SETGUI_ROOT_ABS%\PUBLISH_FIRMWARE.bat
|
||||
exit /b 2
|
||||
)
|
||||
if not exist "%FW_IMAGE_ABS%" (
|
||||
@@ -187,6 +189,7 @@ exit /b 3
|
||||
|
||||
:find_setgui
|
||||
for %%I in ("%FW_CONFIG_DIR%..\SETGUI" "%FW_CONFIG_DIR%..\..\SETGUI" "%FW_CONFIG_DIR%..\..\..\SETGUI") do (
|
||||
if exist "%%~fI\buildb_bat\PUBLISH_FIRMWARE.bat" if not defined FW_SETGUI_ROOT_ABS set "FW_SETGUI_ROOT_ABS=%%~fI"
|
||||
if exist "%%~fI\PUBLISH_FIRMWARE.bat" if not defined FW_SETGUI_ROOT_ABS set "FW_SETGUI_ROOT_ABS=%%~fI"
|
||||
)
|
||||
exit /b 0
|
||||
|
||||
Reference in New Issue
Block a user