[riot-notifications] [RIOT-OS/RIOT] makefiles/utils/{strings, paths}: Add function library. (#11218)

Juan I Carrano notifications at github.com
Wed Mar 20 14:09:34 CET 2019

### Contribution description

Add a set of functions written in pure makefile. The only function that is really useful now is relpath, to calculate relative paths in systems without coreutils/realpath (e.g. Mac).

Tests were added to tests/build_system_utils. The Makefile for the test was also reworked to avoid code repetition.

### Testing procedure

Run `make -C tests/build_system_utils`. You should see several green lines showing tests that passed.

### Issues/PRs references

Needed for #10195 .
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * makefiles/utils/strings, paths: Add function library.

-- File Changes --

    M makefiles/utils/checks.mk (33)
    A makefiles/utils/paths.mk (18)
    A makefiles/utils/strings.mk (22)
    M makefiles/utils/test-checks.mk (18)
    A makefiles/utils/test-paths.mk (27)
    A makefiles/utils/test-strings.mk (38)
    M tests/build_system_utils/Makefile (70)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190320/7e58efdb/attachment.html>

More information about the notifications mailing list