mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-19 20:44:44 -04:00
Standalone and update packages can be generated by CMake targets. During creation of update package, the bootloader will be downloaded and included in the package along with version information. Additionally, a small refactor was performed since the Version.cmake script is now used for generating both the version.hpp and version.json files. Observervable side effects from this script have been moved to separate scripts which are invoked at build time.
30 lines
603 B
Plaintext
30 lines
603 B
Plaintext
{
|
|
"git":
|
|
{
|
|
"git_branch": "@GIT_BRANCH@",
|
|
"git_commit": "@GIT_REV@",
|
|
"git_tag": "@GIT_TAG@"
|
|
},
|
|
"misc":
|
|
{
|
|
"codename": "@VERSION_CODENAME@",
|
|
"kernel": "@KERNEL_VERSION@",
|
|
"buildon": "@BUILD_HOST@",
|
|
"builddate": "@BUILD_DATE@",
|
|
"builduser": "@BUILD_USER@"
|
|
},
|
|
"version":
|
|
{
|
|
"major": "@CMAKE_PROJECT_VERSION_MAJOR@",
|
|
"minor": "@CMAKE_PROJECT_VERSION_MINOR@",
|
|
"patch": "@CMAKE_PROJECT_VERSION_PATCH@",
|
|
"string": "@CMAKE_PROJECT_VERSION@"
|
|
},
|
|
"bootloader":
|
|
{
|
|
"included": "@BOOTLOADER_INCLUDED@",
|
|
"version": "@BOOTLOADER_VERSION@",
|
|
"filename": "@BOOTLOADER_FILENAME@"
|
|
}
|
|
}
|