forked from mirrors/nixpkgs
bootstrap-tools-cross: add powerpc64-linux
Also check for powerpc64-linux-elfv1, which does not support musl.
This commit is contained in:
parent
c17abf8111
commit
76fc6d2870
|
@ -17,6 +17,8 @@ in lib.mapAttrs (n: make) (with lib.systems.examples; {
|
|||
armv6l-musl = muslpi;
|
||||
aarch64-musl = aarch64-multiplatform-musl;
|
||||
riscv64 = riscv64;
|
||||
powerpc64 = ppc64;
|
||||
powerpc64-musl = ppc64-musl;
|
||||
powerpc64le = powernv;
|
||||
powerpc64le-musl = musl-power;
|
||||
})
|
||||
|
|
|
@ -19,7 +19,8 @@ in with pkgs; rec {
|
|||
tarMinimal = gnutar.override { acl = null; };
|
||||
|
||||
busyboxMinimal = busybox.override {
|
||||
useMusl = !stdenv.targetPlatform.isRiscV;
|
||||
useMusl = with stdenv.targetPlatform; !isRiscV &&
|
||||
(system == "powerpc64-linux" -> parsed.abi.name != "elfv1");
|
||||
enableStatic = true;
|
||||
enableMinimal = true;
|
||||
extraConfig = ''
|
||||
|
|
Loading…
Reference in a new issue