1.bat
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:1k
- @ECHO OFF
- if "%1" == "16" goto start
- if "%1" == "32" goto start
- if "%1" == "" goto bad_parameter
- goto bad_parameter
- REM===================================================================
- :bad_parameter
- echo **********************
- echo bad parameter
- echo for 16m, usage: 1 16
- echo for 32m, usage: 1 32
- echo **********************
- goto end
- REM===================================================================
- :start
- if exist ir_vfdmakefile call ir.bat %1
- if not exist mipsel-elflibir_8202.a goto end
- del *.obj
- del rom.bin
- del romL.bin
- set path_saved=%path%
- set path=.package;%path%
- rem font_parse.exe
- rem del mipscrt0.o
- rem del mipsinit0.o
- make
- del *.bz
- del *.dump
- del *.rz
- set path=%path_saved%
- set path_saved=
- REM LOAD
- if not exist DVD_A_KEYdevk2.bin goto load
- patchit -t 256 rom.bin DVD_A_KEYdevk2.bin
- checksum8200 rom.bin 32
- :load
- dir rom*.bin
- rem packageep4
- :end