37BLOB_HDR_DIR ?= $(BINDIR)/$(MODULE)/blobs/blob
38BLOB_H := $(BLOBS:%=$(BLOB_HDR_DIR)/%.h)
42 CFLAGS += -I$(dir $(BLOB_HDR_DIR))
54.PRECIOUS: $(BLOB_HDR_DIR)/. $(BLOB_HDR_DIR)%/.
64$(BLOB_H): $(BLOB_HDR_DIR)/%.h: % $(BLOBS) | $$(
@D)/.
65 @command -v $(XXD) > /dev/null 2>&1 || ( \
66 echo
"error: xxd binary '$(XXD)' not found! (Maybe install vim package?)"; exit 1)
68 ${Q}cd $(dir $<); xxd -i $(notdir $<) | sed
's/^unsigned/const unsigned/g'> $@
72$(OBJC) $(OBJCXX): $(BLOB_H)