diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-12-02 17:47:53 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-12-02 19:49:36 -0600 |
commit | 3b32c920d569c1653d2a3ee84b0aa1f24bf34a85 (patch) | |
tree | 3807ef2a3aad09a0bc5a052b7b9e428d56e1f1a1 /lib/systems/examples.nix | |
parent | 808f05808b40c9092a54cfab7799c13cdb8a5db5 (diff) | |
download | nixpkgs-3b32c920d569c1653d2a3ee84b0aa1f24bf34a85.tar nixpkgs-3b32c920d569c1653d2a3ee84b0aa1f24bf34a85.tar.gz nixpkgs-3b32c920d569c1653d2a3ee84b0aa1f24bf34a85.tar.bz2 nixpkgs-3b32c920d569c1653d2a3ee84b0aa1f24bf34a85.tar.lz nixpkgs-3b32c920d569c1653d2a3ee84b0aa1f24bf34a85.tar.xz nixpkgs-3b32c920d569c1653d2a3ee84b0aa1f24bf34a85.tar.zst nixpkgs-3b32c920d569c1653d2a3ee84b0aa1f24bf34a85.zip |
systems/parse.nix: support eabihf
eabihf is an abi that can be used with ARM architectures that support the “hard float”. It should probably only be used with ARM32 when you are absolutely sure your binaries will run on ARM systems with a FPU. Also, add an example "armhf-embedded" to match the preexisting arm-embedded system. qmk_firmware needs hard float in a few places, so add them here to get that to work. Fixes #51184
Diffstat (limited to 'lib/systems/examples.nix')
-rw-r--r-- | lib/systems/examples.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index c799b9ec449..608db00a968 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -110,6 +110,10 @@ rec { config = "arm-none-eabi"; libc = "newlib"; }; + armhf-embedded = { + config = "arm-none-eabihf"; + libc = "newlib"; + }; aarch64-embedded = { config = "aarch64-none-elf"; |