README.md

This commit is contained in:
2024-12-25 14:14:19 +03:00
parent ea2e60ebf5
commit a2dce8a1f9

View File

@@ -3,22 +3,62 @@
## Crosscompiling ## Crosscompiling
``` ```
{ {
"Platforms": { "install_instructions": {
"inst_set_1": [
"line 1",
"line 2"
],
"inst_set_2":[
"line 1",
"line 2",
"line 3",
"line 4"
]
},
"platforms": {
"Debian NN": {
"enabled": true,
"codename": "<codename>",
"docker": {
"directory": "<directory with Dockerfile>",
"image_basename": "<result docker image name>,
"build_options": {
"image_from": "<source docker image name>",
"image_prepare_script": "<exec this script while building image>"
}
},
"ppa": {
"filters": ["<package name part to use in wildcard copy>"],
"install_instructions": "inst_set_1"
}
},
"Some crosscompile image": { "Some crosscompile image": {
"enabled": true, "enabled": true,
"codename": "<codename>", "codename": "<codename>",
"docker_dir": "<directory with Dockerfile>", "cmake_toolchain": "<path to CMake toolchain file>",
"docker_image": "<result docker image name>", "docker": {
"docker_build_options": { "directory": "<directory with Dockerfile>",
"image_basename": "<result docker image name>,
"build_options": {
"image_from": "<source docker image name>", "image_from": "<source docker image name>",
"image_prepare_script": "<exec this script while building image>", "image_prepare_script": "<exec this script while building image>",
"arch": "<arch name>", "arch": "<arch name>",
"toolchain": "<toolchain package name>", "toolchain": "<toolchain package name>",
"triplet": "<multiarch name>" "triplet": "<multiarch name>"
},
"cmake_toolchain": "<path to CMake toolchain file>",
"ppa_filters": ["<package name part to use in wildcard copy>"]
} }
},
"ppa": {
"filters": ["<package name part to use in wildcard copy>"],
"install_instructions": "inst_set_2"
}
}
} }
} }
``` ```