Skip to content

Conversation

@mmartinv
Copy link

@mmartinv mmartinv commented Dec 2, 2022

Add support for cross building the following platforms:

  • linux/386
  • linux/amd64
  • linux/arm/v6
  • linux/arm/v7
  • linux/arm64
  • linux/ppc64le
  • linux/s390x

To build for a different platform other than the local native platform the
qemu-user-static package must be installed.

Example to build AMD64, ARM64 and ARMv7 platforms:

make PLATFORM="linux/amd64 linux/arm64 linux/arm/v7" all-images

@mmartinv mmartinv force-pushed the support-platform-builds branch from 21b985d to 387fc30 Compare December 5, 2022 12:44
@mmartinv mmartinv force-pushed the support-platform-builds branch 4 times, most recently from 47bcd6e to 32a1e42 Compare December 15, 2022 10:29
Add support for cross building the following platforms:

- `linux/386`
- `linux/amd64`
- `linux/arm/v6`
- `linux/arm/v7`
- `linux/arm64`
- `linux/ppc64le`
- `linux/s390x`

To build for a different platform other than the local native platform the
`qemu-user-static` package must be installed.

Example to build AMD64, ARM64 and ARMv7 platforms:
```
make PLATFORM="linux/amd64 linux/arm64 linux/arm/v7" all-images
```
@mmartinv mmartinv force-pushed the support-platform-builds branch from 32a1e42 to e8c30e6 Compare December 15, 2022 13:12
@flashcode flashcode added the enhancement New feature or request label Jun 23, 2024
@RABijl
Copy link

RABijl commented Mar 30, 2025

Hi, are there any plans to merge this at any point?

@flashcode
Copy link
Member

Hi, yes it should be merged once ready.

@mmartinv: there are a lot of changes in this PR, not all related to the cross platform build.
Could you please split the commit into multiple commits, explaining in each commit the change and why it's done?

Thanks!

@flashcode flashcode self-assigned this Mar 30, 2025
@flashcode flashcode added the waiting info Waiting for info from author of issue label Mar 30, 2025
@mmartinv
Copy link
Author

mmartinv commented Apr 3, 2025

@flashcode: As you can imagine, I forgot about this. I will try find some time to better split the PR but no promises it will be soon. After 3 years I don't think we are in a rush anyway, are we? 😄

@RABijl
Copy link

RABijl commented Apr 3, 2025

@mmartinv since I'm probably the only one looking to use this, I'm willing to look at it instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request waiting info Waiting for info from author of issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants