aarch64: support building Redox for different motherboard.

This commit is contained in:
Ivan Tan 2023-12-14 12:06:52 +00:00
parent 24ef509a8a
commit 584e6fb548
2 changed files with 19 additions and 0 deletions

View file

@ -21,6 +21,8 @@ REDOXFS_MKFS_FLAGS?=
PODMAN_BUILD?=0
## The containerfile to use for the Podman base image
CONTAINERFILE?=podman/redox-base-containerfile
## Sub-device type for aarch64 if needed
BOARD?=
# Per host variables
HOST_CARGO=env -u RUSTUP_TOOLCHAIN cargo
@ -81,6 +83,7 @@ REPO_TAG=$(BUILD)/repo.tag
endif
FSTOOLS_TAG=build/fstools.tag
export BOARD
## Cross compiler variables
AR=$(TARGET)-gcc-ar