Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/targetdisk/gentoo-crossdev-podman
Build Gentoo crossdev toolchains using Podman!
https://github.com/targetdisk/gentoo-crossdev-podman
Last synced: 28 days ago
JSON representation
Build Gentoo crossdev toolchains using Podman!
- Host: GitHub
- URL: https://github.com/targetdisk/gentoo-crossdev-podman
- Owner: targetdisk
- License: other
- Created: 2023-06-10T07:31:02.000Z (over 1 year ago)
- Default Branch: mane
- Last Pushed: 2024-06-22T22:46:44.000Z (7 months ago)
- Last Synced: 2024-10-25T08:07:08.959Z (3 months ago)
- Language: Makefile
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gentoo-crossdev-podman
This repository contains a `Makefile` that can be used to build Gentoo
`crossdev` toolchains and images. It leverages the power of Podman to build
and install cross build tools on top of the official `gentoo/stage3` image.## Building a Toolchain
Assuming [Podman](https://podman.io/) is configured properly on your system, all
you need to do is run `make`.> #### Note
>
> This `Makefile` defaults to building for a `powerpc-unknown-linux-musl`
> target. To run targets for something else, you'll need to specify a `TARGET`
> on the `make` command-line (e.g. `make TARGET=i686-unknown-linux-musl`).
>
> For more information about these `TARGET` tuples, see
> [here](https://wiki.gentoo.org/wiki/Cross_build_environment#Create_the_cross_toolchain).
> You can also run `make shell` and then `crossdev -t help` for more information
> on supported targets.Built prefixes live in the `targets` directory.
## Making Additional Changes
You can install additional packages by running `make shell TARGET=YOUR_TARGET`
followed by `YOUR_TARGET-emerge PKG .. PKG_N`.For more information on how this works see [this page](https://wiki.gentoo.org/wiki/Cross_build_environment#Build_the_desired_Software)
and the [Gentoo Handbook](https://wiki.gentoo.org/wiki/Handbook:Main_Page).