diff --git a/pkg/cmsis-dsp/Makefile b/pkg/cmsis-dsp/Makefile index 680618ab5e..635bd18a29 100644 --- a/pkg/cmsis-dsp/Makefile +++ b/pkg/cmsis-dsp/Makefile @@ -5,6 +5,9 @@ PKG_LICENSE=Apache-2.0 include $(RIOTBASE)/pkg/pkg.mk +# include makefiles utils tools +include $(RIOTMAKE)/utils/strings.mk + CMSIS_DSP_MODULES = \ cmsis-dsp_BasicMathFunctions \ cmsis-dsp_CommonTables \ @@ -22,4 +25,4 @@ CMSIS_DSP_MODULES = \ all: $(CMSIS_DSP_MODULES) cmsis-dsp_%: - $(MAKE) -C $(PKG_SOURCE_DIR)/CMSIS/DSP/Source/$* -f $(CURDIR)/Makefile.cmsis-dsp MODULE=$@ + $(MAKE) -C $(PKG_SOURCE_DIR)/CMSIS/DSP/Source/$* -f $(CURDIR)/Makefile.cmsis-dsp MODULE=$(call lowercase,$@) diff --git a/pkg/cmsis-dsp/Makefile.dep b/pkg/cmsis-dsp/Makefile.dep index 464f8ab837..60d7759293 100644 --- a/pkg/cmsis-dsp/Makefile.dep +++ b/pkg/cmsis-dsp/Makefile.dep @@ -1,10 +1,10 @@ -USEMODULE += cmsis-dsp_BasicMathFunctions -USEMODULE += cmsis-dsp_CommonTables -USEMODULE += cmsis-dsp_ComplexMathFunctions -USEMODULE += cmsis-dsp_ControllerFunctions -USEMODULE += cmsis-dsp_FastMathFunctions -USEMODULE += cmsis-dsp_FilteringFunctions -USEMODULE += cmsis-dsp_MatrixFunctions -USEMODULE += cmsis-dsp_StatisticsFunctions -USEMODULE += cmsis-dsp_SupportFunctions -USEMODULE += cmsis-dsp_TransformFunctions +USEMODULE += cmsis-dsp_basicmathfunctions +USEMODULE += cmsis-dsp_commontables +USEMODULE += cmsis-dsp_complexmathfunctions +USEMODULE += cmsis-dsp_controllerfunctions +USEMODULE += cmsis-dsp_fastmathfunctions +USEMODULE += cmsis-dsp_filteringfunctions +USEMODULE += cmsis-dsp_matrixfunctions +USEMODULE += cmsis-dsp_statisticsfunctions +USEMODULE += cmsis-dsp_supportfunctions +USEMODULE += cmsis-dsp_transformfunctions