mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 01:29:46 +01:00
8c055f0f3e
The Makefile function `version_is_greater_or_equal` is used to check if a version of GNU Make is at least the required one. However, it has the built-in assumption the version numbers have to format x.y.z, but Alpine Linux currently ships GNU Make 4.4. This results in `$(call _pad_number,3,)` which runs `printf '$03d' ''` in the shell, which is not valid. This fixes the issue by making `_pad_number` more robust by fall back to printing `0` with the given padding, if the number given to print is empty. |
||
---|---|---|
.. | ||
ansi_special.mk | ||
ansi.mk | ||
checks.mk | ||
strings.mk | ||
test-checks.mk | ||
test-strings.mk | ||
test-variables.mk | ||
variables.mk |