[riot-notifications] [RIOT-OS/RIOT] makefiles/blobs: Add rules for binary blob embedding. (#11497)

Kaspar Schleiser notifications at github.com
Fri May 10 11:59:52 CEST 2019

kaspar030 commented on this pull request.

> +# after the include.
+define _blob_include
+	#include $1
+# Generate a header with extern declarations to access the blob contents.
+# Parameters:
+#	$1: blob_file_id
+#	$2: data_type
+#	$3: extra includes
+#	$4: blob size
+# Note: _binary_$1_size is an "absolute" symbol. Because of relocation in
+# virtual memory systems (i.e. native) this will not work in such systems.
+# instead, we will have to hardcode the blob size.
+define blob_header_template

Templating in a Makefile?

Why not implement the whole thing in a bash script?

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/20190510/e0d4528f/attachment.html>

More information about the notifications mailing list