From 0fb67f1682dda6dd7c0fac4edbda181e463ea08f Mon Sep 17 00:00:00 2001 From: Felix Walter Date: Tue, 21 Apr 2026 11:20:43 +0200 Subject: [PATCH] mk: Only build necessary tinycbor files This speeds up the build and removes a warning from building an unrelated file. Signed-off-by: Felix Walter --- mk/build.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/mk/build.mk b/mk/build.mk index b109adb..15a7914 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -38,14 +38,8 @@ CPPFLAGS += -DPB_ENABLE_MALLOC $(eval $(call addComponentWithRules,external/nanopb,$(NANOPB_SOURCES))) TINYCBOR_SOURCES := \ - cborerrorstrings.c \ cborencoder.c \ - cborencoder_close_container_checked.c \ - cborparser.c \ - cborparser_dup_string.c \ - cborpretty.c \ - cborpretty_stdio.c \ - cbortojson.c + cborparser.c $(eval $(call addComponentWithRules,external/tinycbor/src,$(TINYCBOR_SOURCES))) $(eval $(call addComponentWithRules,external/util/src))