Skip to content
Snippets Groups Projects
Unverified Commit dcc4137e authored by Casey's avatar Casey :recycle: Committed by Oliver Smith
Browse files

FIXUP: build: abstract CrossCompile type logic


* Make CrossCompile a proper enum type rather than a string literal,
* Introduce methods to get the correct host/build chroots depending on the
  cross compile type and target architecture.
* Remove autodetect.chroot() since it doesn't do what we expect, adjust
  all users to use cross.build_chroot() instead.
* Refactor package building to correctly use cross.host_chroot() and
  cross.build_chroot().

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
Part-of: !2568
parent 0eaedba6
No related branches found
No related tags found
1 merge request!2568Rework Cross Compile Type
Pipeline #217328 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment