[riot-commits] [RIOT-OS/RIOT] fcf8c4: makefiles/utils: function to export variables for ...

Juan I Carrano noreply at github.com
Fri Jun 28 17:11:32 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: fcf8c4782ddf8bd322a445ac7dde3278899b52f0
      https://github.com/RIOT-OS/RIOT/commit/fcf8c4782ddf8bd322a445ac7dde3278899b52f0
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    A makefiles/utils/test-variables.mk
    A makefiles/utils/variables.mk
    M tests/build_system_utils/Makefile

  Log Message:
  -----------
  makefiles/utils: function to export variables for a target

This allows exporting variables only for some target.
It will allow not exporting variables when not needed, and so prevent
unnecessary evaluation.


  Commit: 2c5eeca47ab9b4bb05971b304a9f5d0404a61a2a
      https://github.com/RIOT-OS/RIOT/commit/2c5eeca47ab9b4bb05971b304a9f5d0404a61a2a
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M makefiles/utils/test-variables.mk
    M makefiles/utils/variables.mk
    M tests/build_system_utils/Makefile

  Log Message:
  -----------
  makefiles/utils: function to memoize a variable evaluation

This allow deferring a variable evaluation to its usage but still
benefit from only evaluating it once on multiple uses.


  Commit: 25a1bc48bb7e1f10440a35dacf703b8dcccec9b0
      https://github.com/RIOT-OS/RIOT/commit/25a1bc48bb7e1f10440a35dacf703b8dcccec9b0
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M Makefile.include

  Log Message:
  -----------
  makefiles/utils: include in Makefile.include

Import utils functions in Makefile.include to allow using them.


  Commit: 50ea0d822c683d7d39f21fb25d317b0b2e738bb3
      https://github.com/RIOT-OS/RIOT/commit/50ea0d822c683d7d39f21fb25d317b0b2e738bb3
  Author: Juan I Carrano <j.carrano at fu-berlin.de>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M Makefile.include
    A makefiles/utils/test-variables.mk
    A makefiles/utils/variables.mk
    M tests/build_system_utils/Makefile

  Log Message:
  -----------
  Merge pull request #11664 from cladmi/pr/make/variables_lazy_evaluation

makefiles/utils/variables: add functions to help managing variables


Compare: https://github.com/RIOT-OS/RIOT/compare/c9bf22be69af...50ea0d822c68


More information about the commits mailing list