Commit graph

18 commits

Author SHA1 Message Date
Philippe Teuwen
cb72897b17 mkversion.sh: now regenerates version_pm3.c (and consequently the binaries) only when needed
and add --force to forcibly regenerate version_pm3.c

and small fixes:
* document mkversion.sh usage
* remove call to mkversion.sh in client/experimental_lib/CMakeLists.txt on release
* remove call to old `mkversion.pl` in bootrom/Makefile
* just in case, mkversion.sh takes care of atomic write of the file
2023-08-03 01:03:24 +02:00
iceman1001
ad7b18fb2f use env instead 2023-01-14 18:52:59 +01:00
Doridian
cdd17a06b7 Sort filenames before hashing and force hashing in text mode to avoid inconsistencies 2022-03-26 23:08:54 -07:00
Philippe Teuwen
4c8b4af337 mkversion: indicate when no sha256 generated 2022-02-27 12:46:55 +01:00
Philippe Teuwen
738963306e mkversion: Change grep by cut because of weird grep behavior on OSX 2022-02-27 12:40:17 +01:00
iceman1001
2671795b8b textual 2022-02-26 17:15:32 +01:00
Philippe Teuwen
cb209a9b47 mkversion: ignore fpga_version_info as it might be unavailable when mkversion is called by client compilation 2022-02-25 00:01:09 +01:00
Philippe Teuwen
14f62eaa88 armsrc check: skip if no src available; postpone warning 2022-02-17 01:43:41 +01:00
Philippe Teuwen
bbf49ab560 Add a fingerprint of the ARM OS source files to detect when a client expects another ARM image 2022-02-17 01:43:39 +01:00
Philippe Teuwen
232843477c typos 2021-10-16 23:44:53 +02:00
Philippe Teuwen
0ed190936d Show source version in the makefile logs 2021-09-05 01:18:42 +02:00
Philippe Teuwen
8280fc3c07 rename global version_information and its struct type 2021-08-21 20:11:22 +02:00
Philippe Teuwen
9a00ad0230 rename version.c into version_pm3.c to avoid clash with mbedtls and other future clashes 2021-05-21 00:15:20 +02:00
Philippe Teuwen
4382f8c9be mkversion: add --undecided 2020-05-21 11:50:03 +02:00
Philippe Teuwen
e2a20631c7 remove section version_information for client 2020-05-20 21:11:45 +02:00
Philippe Teuwen
ef586c2a41 version info also for client, still cmake to do 2020-05-20 21:11:45 +02:00
Philippe Teuwen
e80fe2588b "which" not always available... 2019-09-01 19:30:51 +02:00
Philippe Teuwen
8987e956ac POSIX sh version of mkversion
Most targeted platforms have "sh" and don't need Perl as requirement.
Still Perl script is present as fallback.
2019-08-29 23:23:53 +02:00