02b90b60c5
Added support for running a MuntsOS cross-toolchain on Windows.
104 lines
3.1 KiB
TOML
104 lines
3.1 KiB
TOML
name = "muntsos_aarch64"
|
|
authors = ["Philip Munts"]
|
|
description = "MuntsOS Embedded Linux support for AArch64 targets"
|
|
licenses = "BSD-1-Clause"
|
|
maintainers = ["Philip Munts <phil@munts.net>"]
|
|
maintainers-logins = ["pmunts"]
|
|
tags = ["muntsos", "embedded", "linux", "arm64", "aarch64"]
|
|
version = "11.0.0"
|
|
website = "https://github.com/pmunts/muntsos"
|
|
|
|
long-description = """
|
|
# Introduction
|
|
|
|
This crate modifies an Alire program project to build a cross-compiled
|
|
program for a **[MuntsOS Embedded
|
|
Linux](https://github.com/pmunts/muntsos)** AArch64 / ARMv8 / arm64
|
|
target computer.
|
|
|
|
The **MuntsOS Embedded Linux** cross toolchain packages must be
|
|
installed on your development computer before you can use this crate.
|
|
See:
|
|
|
|
[Application Note
|
|
#1](https://repo.munts.com/muntsos/doc/AppNote1-Setup-Debian.pdf) for
|
|
Debian Linux distributions
|
|
[Application Note
|
|
#2](https://repo.munts.com/muntsos/doc/AppNote2-Setup-RPM.pdf) for RPM
|
|
Linux distributions
|
|
[Application Note
|
|
#24](https://repo.munts.com/muntsos/doc/AppNote24-Setup-RPM.pdf) for
|
|
x86-64 Windows 10 or 11.
|
|
|
|
# Environment Variables
|
|
|
|
If **`ALIRE_DISABLESTYLECHECKS`** is set to **`yes`**, the postfetch
|
|
script will disable style checking in the project **`.gpr`** file.
|
|
|
|
If **`ALIRE_INSTALLMAKEFILE`** is set to **`yes`**, the postfetch script
|
|
will install an optional but useful **`Makefile`** to the project
|
|
directory.
|
|
|
|
You can add the following to **`~/.bashrc`** or its equivalent to
|
|
permanently define these environment variables:
|
|
|
|
export ALIRE_DISABLESTYLECHECKS=yes
|
|
export ALIRE_INSTALLMAKEFILE=yes
|
|
|
|
# Example
|
|
|
|
The following commands illustrate how to create an Alire program project
|
|
that will cross-compile a program to run on a **MuntsOS Embedded Linux**
|
|
target computer. The result is a pristine (*i.e.* all temporary, working
|
|
and deliverable files removed) project, suitable for checking into a
|
|
source code control repository.
|
|
|
|
alr -n init --bin myexample
|
|
cd myexample
|
|
alr -n with muntsos_aarch64
|
|
ALIRE_DISABLESTYLECHECKS=yes ALIRE_INSTALLMAKEFILE=yes alr action -r post-fetch
|
|
make reallyclean
|
|
|
|
See also [Application Note
|
|
#7](https://repo.munts.com/muntsos/doc/AppNote7-Flash-LED-Ada-Alire.pdf).
|
|
"""
|
|
|
|
project-files = ["aws.gpr", "libsimpleio.gpr"]
|
|
|
|
[available."case(os)"]
|
|
"linux|windows" = true
|
|
"..." = false
|
|
|
|
[configuration]
|
|
disabled = true
|
|
|
|
[[depends-on]]
|
|
[depends-on."case(os)"."linux"]
|
|
muntsos_dev_aarch64 = "*"
|
|
|
|
[[forbids]]
|
|
# This crate contains the functionality of the following crates:
|
|
aws = "*"
|
|
libsimpleio = "*"
|
|
mcp2221 = "*"
|
|
remoteio = "*"
|
|
wioe5_ham1 = "*"
|
|
wioe5_ham2 = "*"
|
|
wioe5_p2p = "*"
|
|
|
|
[[actions."case(os)".linux]]
|
|
type = "post-fetch"
|
|
command = ["sh", "-c", "./postfetch.linux"]
|
|
|
|
[[actions."case(os)".windows]]
|
|
type = "post-fetch"
|
|
command = ["sh", "-c", "./postfetch.windows"]
|
|
|
|
[origin]
|
|
hashes = [
|
|
"sha256:ae49c06f6d68d44c581624071b900915f34477be15e4d8464849624eb48f5fb2",
|
|
"sha512:609901f5a4c4d3a1ff5d19eb2d939e3649e5a17722e91c7e9915cc5bfe4959d73e86446aed1cb1ce0f09454b300c840358622a4410398f9ef7edca4db40810a6",
|
|
]
|
|
url = "https://raw.githubusercontent.com/pmunts/alire-crates/4af0c448d2b44d2481f46c0b526eef3285fbf525/muntsos_aarch64/muntsos_aarch64-11.0.0.tbz2"
|
|
|