forked from Mirror/pmbootstrap
pmb.types.CrossCompileType: split up None
Replace None with the three things it is actually used for to make the code easier to follow: * "autodetect" * "unnecessary" * "qemu-only" I've used the term "unnecessary" instead of "native", because "native" was previously used for "cross-native", then "cross-native2" and it still sounds similar to these. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2568
This commit is contained in:
parent
0625ece550
commit
bef3b43343
4 changed files with 17 additions and 12 deletions
|
@ -202,7 +202,6 @@ def run_abuild(
|
|||
depending on the cross-compiler method and target architecture), copy
|
||||
the aport to the chroot and execute abuild.
|
||||
|
||||
:param cross: None, "cross-native", "cross-native2" or "crossdirect"
|
||||
:param src: override source used to build the package with a local folder
|
||||
:param bootstrap_stage: pass a BOOTSTRAP= env var with the value to abuild
|
||||
:returns: (output, cmd, env), output is the destination apk path relative
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue