pmbootstrap/pmb/build
Caleb Connolly 204419fe49
build: make preferred target arch configurable
When invoking pmbootstrap build most packages default to the host arch,
however depending on your workflow it might be preferrable to default to
the device arch.

Add a new config option "build_default_device_arch" which when set will
make "pmbootstrap build" prioritise the device arch over the native
arch.

Default to False to preserve the old behaviour and don't ask during
pmbootstrap init as this may not be relevant for most folks.

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Co-developed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230418-build-default-arch-v5-2-5223fab65867@postmarketos.org%3E
2023-05-01 13:19:14 +02:00
..
__init__.py Speed up 'pmbootstrap checksum' 2023-04-28 09:23:43 +02:00
_package.py pmb.config: mount go caching directories 2023-02-26 19:37:30 +01:00
autodetect.py build: make preferred target arch configurable 2023-05-01 13:19:14 +02:00
checksum.py Speed up 'pmbootstrap checksum' 2023-04-28 09:23:43 +02:00
envkernel.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
init.py Speed up 'pmbootstrap checksum' 2023-04-28 09:23:43 +02:00
kconfig.py pmb.parse.kconfig: Pass background color for menuconfig 2023-03-24 09:11:48 +01:00
newapkbuild.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
other.py build: support new abuild.conf path 2023-04-18 20:57:26 +02:00