Commit Graph

11 Commits

Author SHA1 Message Date
Pavol Rusnak
d66917c4df
gcc-arm-embedded: use numVersion as version, rename version to release
followup to 009668465e
2021-07-12 13:11:40 +02:00
Sirio Balmelli
009668465e
gcc-arm-embedded: add numVersion attribute for convenience
There are builds which rely on having the numeric version of gcc (eg "10.2.1")
declared in an environment variable.

Running 'arm-none-eabi-gcc --version' returns:
"arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.2.1 20201103 (release)"

However, the attribute arm-none-eabi-gcc.version is "10-2020-q4-major",
from which there is no way to derive "10.2.1".

Contrast this with the attribute gcc.version which (at this time) gives "10.3.0".

By adding a numVersion attribute, consumers of this package can
correctly determine what GCC version is being executed.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2021-07-12 12:29:46 +02:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Pavol Rusnak
78a8ccf961 gcc-arm-embedded: don't override phases 2020-12-29 11:36:17 +01:00
Pavol Rusnak
fcba6a0619
gcc-arm-embedded: unify gcc-arm-embedded/{6,7,8,9}/default.nix 2019-12-08 15:24:12 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Theodore Witkamp
daf1f0bc22 gcc-arm-embedded: add darwin support 2019-04-04 09:19:16 -07:00
Theodore Witkamp
6bfbd2df0f gcc-arm-embedded: fix MANPATH 2019-01-20 12:22:36 -08:00
Matthew Bauer
4c9bbf01ef Revert "gcc-arm-embedded: remove"
This reverts commit c327df544a.
2018-12-15 12:32:12 -06:00
Matthew Bauer
c327df544a gcc-arm-embedded: remove
replace with:

- pkgsCross.arm-embedded.buildPackages.gcc
- pkgsCross.arm-embedded.buildPackages.binutils
2018-10-30 13:31:55 -05:00
Pavol Rusnak
b3531b9719
gcc-arm-embedded: 6-2017-q2-update -> 7-2018-q2-update
+ update blackmagic to latest commit which includes gcc7 fixes
2018-10-02 15:23:31 +02:00