pmbootstrap/helpers
Minecrell 569c8ff5b0
envkernel.sh: fix x86_64 (arch == host_arch) (!1870)
Attempting to use envkernel.sh on x86_64 fails at the moment:

$ . ~/pmos/pmbootstrap/helpers/envkernel.sh
Initializing Alpine chroot (details: 'pmbootstrap log')
ERROR: unsatisfiable constraints:
  binutils-x86_64 (missing):
    required by: world[binutils-x86_64]
  gcc-x86_64 (missing):
    required by: world[gcc-x86_64]

We do not need to install a cross compiler if the device arch is
equal to the host architecture. Check if we need a cross compiler
earlier, and avoid installing it if not necessary.

Also rename "is_cc" to "need_cross_compiler". "is_cc" is confusingly
named since "cc" can refer to the compiler symlink ("C compiler")
or "cross compiler".
2020-02-07 19:20:01 +03:00
..
envkernel.fish helpers/envkernel.fish: add gcc4 support (!1842) 2019-12-14 00:18:21 +01:00
envkernel.sh envkernel.sh: fix x86_64 (arch == host_arch) (!1870) 2020-02-07 19:20:01 +03:00
envsetup.sh Add helpers/envsetup.sh (#1390) 2018-04-08 12:58:10 +00:00