311edf0a0c
* muntsos_aarch64 release 11.0.1 Tue Dec 2 01:22:11 PM PST 2025 Add a post-build script to the superordinate program project that will optionally scp the executable file(s) from bin/ to the MuntsOS Embedded Linux target computer indicated by the TARGETCOMPUTER environment variable, which must contain a value of the following form: root@snoopy:/usr/local/bin * muntsos_raspberrypi1 release 11.0.1 Tue Dec 2 01:22:57 PM PST 2025 Add a post-build script to the superordinate program project that will optionally scp the executable file(s) from bin/ to the MuntsOS Embedded Linux target computer indicated by the TARGETCOMPUTER environment variable, which must contain a value of the following form: root@snoopy:/usr/local/bin
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.1"
|
|
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:9bccdb14899d957a51666d951de367af60eee2fdad7493f46c5a1ea2b50cbf1c",
|
|
"sha512:0a6b2cab2192c06a6ad55243bb55c2347c59846653e07177c2908a7975efd44f0d691e4afc82c0e186ec2f576f5d39b677b89d6b8b2a3d7f8da0a179c8a9f1d9",
|
|
]
|
|
url = "https://raw.githubusercontent.com/pmunts/alire-crates/0debf2c7d1e5e3e31cee99aaf03dd199e5bb0643/muntsos_aarch64/muntsos_aarch64-11.0.1.tbz2"
|
|
|