[riot-commits] [RIOT-OS/RIOT] 2b3d39: make: export RIOT_VERSION to CFLAGS_WITH_MACROS

Joakim Nohlgård joakim.nohlgard at eistec.se
Mon Sep 26 10:36:56 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2b3d3995f13cc47f47a6b1cae784634e8511c153
      https://github.com/RIOT-OS/RIOT/commit/2b3d3995f13cc47f47a6b1cae784634e8511c153
  Author: Cenk Gündoğan <mail at cgundogan.de>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M Makefile.include

  Log Message:
  -----------
  make: export RIOT_VERSION to CFLAGS_WITH_MACROS

All macros are filtered out of the `CFLAGS` variable and during this
process, the `CFLAGS` string is destroyed. This is due to the fact that
the `RIOT_VERSION` string contains spaces, but the filtering process does
not take the whole string into account (following the first space). This
leads to some parts of the `RIOT_VERSION` string be sill existent in the
`CFLAGS` string.

Instead of exporting the `RIOT_VERSION` string to the `CFLAGS` macro to
just remove it again from there, I exported it to `CFLAGS_WITH_MACROS`.

Fixes #5859


  Commit: 0e201d39b37829fdf17d3c38bc733038d034972b
      https://github.com/RIOT-OS/RIOT/commit/0e201d39b37829fdf17d3c38bc733038d034972b
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-09-26 (Mon, 26 Sep 2016)

  Changed paths:
    M Makefile.include

  Log Message:
  -----------
  Merge pull request #5862 from cgundogan/pr/makefile_riot_version

make: export RIOT_VERSION to CFLAGS_WITH_MACROS


Compare: https://github.com/RIOT-OS/RIOT/compare/90888830475f...0e201d39b378


More information about the commits mailing list