-
Notifications
You must be signed in to change notification settings - Fork 0
/
BuildApp.bat
15 lines (14 loc) · 4.63 KB
/
BuildApp.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
REM Build Bat File
REM Precheck the Resource
"C:\Program Files\MRE SDK V3.0.00\tools\ResEditor\CmdShell.exe" save "D:\MyGitHub\Config_parser\Config_parser.vcproj"
REM Copmile c file
"C:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_Lite_for_ARM_EABI\Bin\arm-none-eabi-gcc" -c -fpic -g -mcpu=arm7tdmi-s -fvisibility=hidden -mthumb -mlittle-endian -O2 -D__MRE_COMPILER_GCC__ -fno-exceptions -fno-non-call-exceptions -o "D:\MyGitHub\Config_parser\arm\gccmain.o" -c "C:\Program Files\MRE SDK V3.0.00\lib\MRE30\src\gccmain.c" -D _MINIGUI_LIB_ -D _USE_MINIGUIENTRY -D _NOUNIX_ -D _FOR_WNC -D __MRE_SDK__ -D __MRE_VENUS_NORMAL__ -D __MMI_MAINLCD_240X320__ -I "C:\Program Files\MRE SDK V3.0.00\include" -I "C:\Program Files\MRE SDK V3.0.00\include\service" -I "D:\MyGitHub\Config_parser\include" -I "D:\MyGitHub\Config_parser\include\service" -I "D:\MyGitHub\Config_parser\include\component" -I "D:\MyGitHub\Config_parser\ResID" -I "D:\MyGitHub\Config_parser\src\app\widget" -I "D:\MyGitHub\Config_parser\src\app\launcher" -I "D:\MyGitHub\Config_parser\src\app\wallpaper" -I "D:\MyGitHub\Config_parser\src\app\screen_lock" -I "D:\MyGitHub\Config_parser\include\service" -I "D:\MyGitHub\Config_parser\include\component" -I "D:\MyGitHub\Config_parser\include\service" -I "D:\MyGitHub\Config_parser\src\framework" -I "D:\MyGitHub\Config_parser\src\framework\ui_core\base" -I "D:\MyGitHub\Config_parser\src\framework\ui_core\mvc" -I "D:\MyGitHub\Config_parser\src\framework\ui_core\pme" -I "D:\MyGitHub\Config_parser\src\framework\mmi_core" -I "D:\MyGitHub\Config_parser\src\ui_engine\vrt\interface" -I "D:\MyGitHub\Config_parser\src\component" -I "D:\MyGitHub\Config_parser\src\ui_engine\framework\xml" -I "D:\MyGitHub\Config_parser"
REM Copmile c file
"C:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_Lite_for_ARM_EABI\Bin\arm-none-eabi-gcc" -c -fpic -g -mcpu=arm7tdmi-s -fvisibility=hidden -mthumb -mlittle-endian -O2 -D__MRE_COMPILER_GCC__ -fno-exceptions -fno-non-call-exceptions -o "D:\MyGitHub\Config_parser\arm\Config_parser.o" -c "d:\MyGitHub\Config_parser\Config_parser.c" -D _MINIGUI_LIB_ -D _USE_MINIGUIENTRY -D _NOUNIX_ -D _FOR_WNC -D __MRE_SDK__ -D __MRE_VENUS_NORMAL__ -D __MMI_MAINLCD_240X320__ -I "C:\Program Files\MRE SDK V3.0.00\include" -I "C:\Program Files\MRE SDK V3.0.00\include\service" -I "D:\MyGitHub\Config_parser\include" -I "D:\MyGitHub\Config_parser\include\service" -I "D:\MyGitHub\Config_parser\include\component" -I "D:\MyGitHub\Config_parser\ResID" -I "D:\MyGitHub\Config_parser\src\app\widget" -I "D:\MyGitHub\Config_parser\src\app\launcher" -I "D:\MyGitHub\Config_parser\src\app\wallpaper" -I "D:\MyGitHub\Config_parser\src\app\screen_lock" -I "D:\MyGitHub\Config_parser\include\service" -I "D:\MyGitHub\Config_parser\include\component" -I "D:\MyGitHub\Config_parser\include\service" -I "D:\MyGitHub\Config_parser\src\framework" -I "D:\MyGitHub\Config_parser\src\framework\ui_core\base" -I "D:\MyGitHub\Config_parser\src\framework\ui_core\mvc" -I "D:\MyGitHub\Config_parser\src\framework\ui_core\pme" -I "D:\MyGitHub\Config_parser\src\framework\mmi_core" -I "D:\MyGitHub\Config_parser\src\ui_engine\vrt\interface" -I "D:\MyGitHub\Config_parser\src\component" -I "D:\MyGitHub\Config_parser\src\ui_engine\framework\xml" -I "D:\MyGitHub\Config_parser"
REM Link app
"C:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_Lite_for_ARM_EABI\Bin\arm-none-eabi-gcc" -o "D:\MyGitHub\Config_parser\Config_parser.axf" "D:\MyGitHub\Config_parser\arm\gccmain.o" "D:\MyGitHub\Config_parser\arm\Config_parser.o" -fpic -msvr4-struct-return -pie -T "C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\scat.ld" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\percommon.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\perfile.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persysstorage.a" -l:"C:\Program Files\MRE SDK V3.0.00\lib\MRE30\armgcc\persysfile.a"
REM Pack resource to app
"C:\Program Files\MRE SDK V3.0.00\tools\ResEditor\CmdShell.exe" pack -silent -resolution 240x320 -o "D:\MyGitHub\Config_parser\Config_parser.pkd" -e AXF "D:\MyGitHub\Config_parser\Config_parser.vcproj" "D:\MyGitHub\Config_parser\Config_parser.axf"
REM Add tag infromation
"C:\Program Files\MRE SDK V3.0.00\tools\PackDigist.exe" "D:\MyGitHub\Config_parser\Config_parser.vcproj" "Config_parser" "0.1.0" "RDZDX" "0" "NotSupportBg" "Not Support rotate" "Config_parser" "Config_parser" "Config_parser" "9246012102087182" "content" " File SysStorage SysFile" "vxp" "GCC" "PKD" "UnCompress" "NoVPI" "Adaptable" "15728960" "UnSysMemAble" "
" "-1" "UNPUSH" "-1" "" "UnAutoStart" "UnTransferImg" "NoIdleShortcut" D:\MyGitHub\Config_parser\arm D:\MyGitHub\Config_parser\build.log