From 75b4720a6e57dedebb4ce607035350bfc3190fb3 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Sun, 26 Mar 2023 12:58:33 +0300 Subject: [PATCH] industry/scpi: fix compilation of SCPI library Expose SCPI library API to application Signed-off-by: Petro Karashchenko --- industry/scpi/Make.defs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/industry/scpi/Make.defs b/industry/scpi/Make.defs index a6b5c6855..6ddfe132f 100644 --- a/industry/scpi/Make.defs +++ b/industry/scpi/Make.defs @@ -22,4 +22,9 @@ ifneq ($(CONFIG_SCPI_PARSER),) CONFIGURED_APPS += $(APPDIR)/industry/scpi +# Allows `.h>` import. + +CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/industry/scpi/scpi-parser/libscpi/inc +CXXFLAGS += ${INCDIR_PREFIX}$(APPDIR)/industry/scpi/scpi-parser/libscpi/inc + endif