-
- Downloads
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:Caleb Connolly <caleb@postmarketos.org> Part-of: !2568
parent
0eaedba6
No related branches found
No related tags found
Showing
- pmb/build/_package.py 20 additions, 26 deletionspmb/build/_package.py
- pmb/build/autodetect.py 8 additions, 19 deletionspmb/build/autodetect.py
- pmb/build/backend.py 25 additions, 21 deletionspmb/build/backend.py
- pmb/build/envkernel.py 1 addition, 4 deletionspmb/build/envkernel.py
- pmb/build/init.py 3 additions, 5 deletionspmb/build/init.py
- pmb/build/kconfig.py 1 addition, 1 deletionpmb/build/kconfig.py
- pmb/types.py 49 additions, 8 deletionspmb/types.py
Loading
Please register or sign in to comment