From 4b24be0238ee4be17a0a5882d2d31643756ab0f9 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 5 Apr 2024 14:33:27 +0200 Subject: [PATCH] pkg/nanopb: allow multiple proto locations --- pkg/nanopb/Makefile.gensrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/nanopb/Makefile.gensrc b/pkg/nanopb/Makefile.gensrc index 76b541f60533..1b0e639bcddd 100644 --- a/pkg/nanopb/Makefile.gensrc +++ b/pkg/nanopb/Makefile.gensrc @@ -1,7 +1,7 @@ PROTOC ?= protoc PROTOC_GEN_NANOPB ?= $(PKGDIRBASE)/nanopb/generator/protoc-gen-nanopb -PROTOBUF_FILES ?= $(wildcard *.proto) +PROTOBUF_FILES += $(wildcard *.proto) # remove duplicates PROTOBUF_FILES := $(sort $(PROTOBUF_FILES))