mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-28 06:02:56 +08:00
43 lines
1.3 KiB
Batchfile
43 lines
1.3 KiB
Batchfile
@setlocal
|
|
|
|
:: usage
|
|
@echo Usage: qppcp_md5 [gen]
|
|
@echo examples:
|
|
@echo qppcp_md5 : check the md5 sums in the file qpcpp.md5
|
|
@echo qpcpp_md5 gen : generate the md5 file qpcpp.md5
|
|
@echo.
|
|
|
|
@if NOT "%1"=="gen" goto check
|
|
|
|
@echo generating qpcpp.md5...
|
|
@md5sum qpcpp.qm ^
|
|
include/* ^
|
|
src/qf/* src/qk/* src/qs/* src/qv/* src/qxk/* ^
|
|
ports/arm-cm/qk/armclang/* ports/arm-cm/qk/config/* ports/arm-cm/qk/gnu/* ports/arm-cm/qk/iar/* ^
|
|
ports/arm-cm/qv/armclang/* ports/arm-cm/qv/config/* ports/arm-cm/qv/gnu/* ports/arm-cm/qv/iar/* ^
|
|
ports/arm-cm/qxk/armclang/* ports/arm-cm/qxk/config/* ports/arm-cm/qxk/gnu/* ports/arm-cm/qxk/iar/* ^
|
|
ports/arm-cm/qutest/* ^
|
|
ports/arm-cr/qk/config/* ^
|
|
ports/arm-cr/qk/gnu/* ports/arm-cr/qk/iar/* ports/arm-cr/qk/ti/* ^
|
|
ports/arm-cr/qv/gnu/* ports/arm-cr/qv/iar/* ports/arm-cr/qv/ti/* ^
|
|
ports/msp430/qk/* ports/msp430/qv/* ports/msp430/qutest/* ^
|
|
ports/pic32/qk/xc32/* ports/pic32/qv/xc32/* ports/pic32/qutest/xc32/* ^
|
|
ports/config/* ^
|
|
ports/embos/* ^
|
|
ports/freertos/* ^
|
|
ports/threadx/* ^
|
|
ports/uc-os2/* ^
|
|
ports/qep-only/* ^
|
|
ports/posix/* ports/posix-qv/* ports/posix-qutest/* ^
|
|
ports/win32/* ports/win32-qv/* ports/win32-qutest/* ^
|
|
zephyr/* ^
|
|
> qpcpp.md5
|
|
@echo done
|
|
@goto end
|
|
|
|
:check
|
|
md5sum --check --warn qpcpp.md5
|
|
|
|
:end
|
|
@endlocal
|