diff --git a/system/microros/Make.defs b/system/microros/Make.defs index 5ec456770..ae95e997d 100644 --- a/system/microros/Make.defs +++ b/system/microros/Make.defs @@ -19,3 +19,12 @@ # under the License. # ############################################################################ + +ifneq ($(CONFIG_SYSTEM_MICROROS),) +CONFIGURED_APPS += $(APPDIR)/system/microros + +CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/system/microros/include +CXXFLAGS += ${INCDIR_PREFIX}$(APPDIR)/system/microros/include + +LDLIBS += $(APPDIR)/system/microros/libmicroros.a +endif