diff --git a/ports/psoc6/.gitignore b/ports/psoc6/.gitignore index 7e5f7fa36a30e..c903255da311b 100644 --- a/ports/psoc6/.gitignore +++ b/ports/psoc6/.gitignore @@ -1,2 +1 @@ /mtb_shared -../../tools/psoc6/local-devs.yml \ No newline at end of file diff --git a/ports/psoc6/mtb-libs/deps/.gitignore b/ports/psoc6/mtb-libs/deps/.gitignore new file mode 100644 index 0000000000000..4057e40ef249c --- /dev/null +++ b/ports/psoc6/mtb-libs/deps/.gitignore @@ -0,0 +1 @@ +*.mtb diff --git a/ports/psoc6/mtb-libs/makefile_mtb.mk b/ports/psoc6/mtb-libs/makefile_mtb.mk index a5be7ef5181cd..1002198528561 100644 --- a/ports/psoc6/mtb-libs/makefile_mtb.mk +++ b/ports/psoc6/mtb-libs/makefile_mtb.mk @@ -72,7 +72,7 @@ mtb_deinit: clean -$(Q) cd $(MTB_LIBS_DIR); rm -rf libs -$(Q) cd $(MTB_LIBS_DIR); rm -rf bsps -$(Q) cd $(MTB_LIBS_DIR); rm -rf ../mtb_shared - -$(Q) cd $(MTB_LIBS_DIR); find deps/ -maxdepth 1 -type f -delete + -$(Q) cd $(MTB_LIBS_DIR); find deps/*.mtb -maxdepth 1 -type f -delete # Some of the configuration variables are passed to the ModusToolbox # Makefile to include/exclude certain middleware libraries and components