mirror of
https://github.com/arehnman/yttrium-virtio-gpu.git
synced 2026-10-31 02:05:04 +00:00
Do not update netkvmmof.h without need, check whether generated header file is different from existing one, only then update it. Signed-off-by: Yuri Benditovich <[email protected]>
9 lines
292 B
Batchfile
9 lines
292 B
Batchfile
mofcomp.exe -B:.\netkvm.bmf ..\Common\netkvm.mof
|
|
wmimofck.exe -h..\Common\tmpmof.h -m -u .\netkvm.bmf
|
|
fc ..\Common\netkvmmof.h ..\Common\tmpmof.h > nul
|
|
if not errorlevel 1 goto thesame
|
|
echo Updating netkvmmof.h
|
|
copy /Y ..\Common\tmpmof.h ..\Common\netkvmmof.h
|
|
:thesame
|
|
del ..\Common\tmpmof.h
|