lib: Add isPowerPC predicate, and fix family name
This commit is contained in:
parent
50831d543d
commit
02464668c0
@ -8,6 +8,7 @@ rec {
|
|||||||
"64bit" = { cpu = { bits = 64; }; };
|
"64bit" = { cpu = { bits = 64; }; };
|
||||||
i686 = { cpu = cpuTypes.i686; };
|
i686 = { cpu = cpuTypes.i686; };
|
||||||
x86_64 = { cpu = cpuTypes.x86_64; };
|
x86_64 = { cpu = cpuTypes.x86_64; };
|
||||||
|
PowerPC = { cpu = cpuTypes.powerpc; };
|
||||||
x86 = { cpu = { family = "x86"; }; };
|
x86 = { cpu = { family = "x86"; }; };
|
||||||
Arm = { cpu = { family = "arm"; }; };
|
Arm = { cpu = { family = "arm"; }; };
|
||||||
Mips = { cpu = { family = "mips"; }; };
|
Mips = { cpu = { family = "mips"; }; };
|
||||||
|
@ -44,7 +44,7 @@ rec {
|
|||||||
i686 = { bits = 32; significantByte = littleEndian; family = "x86"; };
|
i686 = { bits = 32; significantByte = littleEndian; family = "x86"; };
|
||||||
x86_64 = { bits = 64; significantByte = littleEndian; family = "x86"; };
|
x86_64 = { bits = 64; significantByte = littleEndian; family = "x86"; };
|
||||||
mips64el = { bits = 32; significantByte = littleEndian; family = "mips"; };
|
mips64el = { bits = 32; significantByte = littleEndian; family = "mips"; };
|
||||||
powerpc = { bits = 32; significantByte = bigEndian; family = "powerpc"; };
|
powerpc = { bits = 32; significantByte = bigEndian; family = "power"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
isVendor = isType "vendor";
|
isVendor = isType "vendor";
|
||||||
|
Loading…
Reference in New Issue
Block a user