[riot-notifications] [RIOT-OS/RIOT] build system: add machine-readable RIOT_VERSION_CODE macro (#16765)

Martine Lenders notifications at github.com
Tue Sep 21 15:38:33 CEST 2021


@miri64 commented on this pull request.



> +# Generate machine readable RIOT VERSION macro
+RIOT_VERSION_CODE ?= $(shell echo ${RIOT_VERSION} | \
+                      sed -E 's/([0-9]+).([0-9]+).?([0-9]+)?.*/KERNEL_VERSION\\\(\1,\2,0\3,${RIOT_EXTRAVERSION}\\\)/')

Did you check how often this is executed?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16765#pullrequestreview-759762206
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210921/2d9586e0/attachment.htm>


More information about the notifications mailing list