[riot-notifications] [RIOT-OS/RIOT] make: add blob utility header (#11870)
notifications at github.com
Tue Sep 10 13:54:17 CEST 2019
kaspar030 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
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...
More information about the notifications