[riot-notifications] [RIOT-OS/RIOT] make: add blob utility header (#11870)

Alexandre Abadie notifications at github.com
Tue Sep 10 13:52:18 CEST 2019

aabadie commented on this pull request.

> +# Add this to an application or module Makefile:
+#     BLOBS += foo.ext
+# Then include in C file or header:
+#    #include "blob/foo.ext.h"
+# use "blobs/blob" so the headers can be included as "blob/foo.h", but
+# we don't have to add $(BINDIR)/$(MODULE) to the include path.
+BLOB_HDR_DIR ?= $(BINDIR)/$(MODULE)/blobs/blob
+BLOB_H := $(BLOBS:%=$(BLOB_HDR_DIR)/%.h)
+ifneq (, $(BLOB_H))
+	# add $(BINDIR)/$(MODULE)/blobs to include path

Looks like there's a tab instead of 2 spaces here (and the line below)

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/20190910/c74500a6/attachment.htm>

More information about the notifications mailing list