1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Francisco Molina
e455ccd3c0
makefiles/utils/strings.mk: add version_greater_or_equal 2021-01-18 14:37:23 +01:00
Francisco Molina
5b10bdfcb8
makefiles/utils: add util to compare to software versions 2020-11-23 09:12:51 +01:00
Gaëtan Harter
765f3e9327
makefiles/utils: functions for lowercase and uppercase
Add make only function to convert strings to lowercase and uppercase.
This can replace the `$(shell echo $(var) | tr 'a-z-' 'A-Z_')` pattern.
Using the 'make' implementation results in being around 100 times faster.
2019-08-29 13:59:31 +02:00
Gaëtan Harter
2c5eeca47a
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.
2019-06-28 11:34:43 +02:00
Gaëtan Harter
fcf8c4782d
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.
2019-06-28 11:33:54 +02:00
Gaëtan Harter
5260b62160
tests/build_system_utils: fix TESTS name collision
TESTS is used to find the tests files for the application but was used
to list test targets. Rename to COMPILE_TESTS as already done in some of
my other applications.
2019-01-16 18:24:13 +01:00
Gaëtan Harter
9d252a883e tests/build_system_utils: add test for build system utilities
This will allow testing the build system 'utils' functions.
2018-12-07 18:19:38 +01:00