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

Gaƫtan Harter notifications at github.com
Wed May 8 16:15:52 CEST 2019

cladmi commented on this pull request.

> @@ -0,0 +1,22 @@
+# String handling functions
+# Return an empty string if the arguments are different (works only for single
+# words
+streq = $(filter $(1),$(2))

Even with only single words, it does not work. Using `findstring` would be better to not match patterns.
Here it could be checked that indeed `words $(1) == 1` and `words $(2) == 1`.

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/20190508/615a8e7f/attachment.html>

More information about the notifications mailing list