diff --git a/README.md b/README.md new file mode 100644 index 0000000..4fd3cc3 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# platforms file + +## Crosscompiling +``` +{ + "Platforms": { + "Some crosscompile image": { + "enabled": true, + "codename": "", + "docker_dir": "", + "docker_image": "", + "docker_build_options": { + "image_from": "", + "image_prepare_script": "", + "arch": "", + "toolchain": "", + "triplet": "" + }, + "cmake_toolchain": "", + "ppa_filters": [""] + } + } +} +``` + +[Debian codenames](https://wiki.debian.org/DebianReleases) +[Debian arch names](https://wiki.debian.org/SupportedArchitectures) +[Debian multiarch names](https://wiki.debian.org/Multiarch/Tuples) + +You can add any values in `docker_build_options` object, all these values passed to docker on building \ No newline at end of file diff --git a/platforms.json b/platforms.json index 1e1e7fa..4f4a5cc 100644 --- a/platforms.json +++ b/platforms.json @@ -115,8 +115,9 @@ "docker_build_options": { "image_from": "debian:bullseye-slim", "image_prepare_script": "install_apt.sh", - "machine": "aarch64", - "arch": "arm64" + "arch": "arm64", + "toolchain": "g++-aarch64-linux-gnu", + "triplet": "aarch64-linux-gnu" }, "cmake_toolchain": "/soft/toolchain.cmake", "ppa_filters": ["debian11"]