From 2e2dcd5c27bcf5379766070a09c69567b3ceff73 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Sat, 23 Jan 2021 10:11:27 +0100 Subject: [PATCH] cpu/msp430: move default module to Makefile.default --- cpu/msp430_common/Makefile.default | 2 ++ cpu/msp430_common/Makefile.dep | 3 --- cpu/msp430fxyz/Makefile.default | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 cpu/msp430_common/Makefile.default create mode 100644 cpu/msp430fxyz/Makefile.default diff --git a/cpu/msp430_common/Makefile.default b/cpu/msp430_common/Makefile.default new file mode 100644 index 0000000000..0a5f9cc4c8 --- /dev/null +++ b/cpu/msp430_common/Makefile.default @@ -0,0 +1,2 @@ +# msp430 uses newlib by default +DEFAULT_MODULE += newlib diff --git a/cpu/msp430_common/Makefile.dep b/cpu/msp430_common/Makefile.dep index 54590f7a88..907a9870bc 100644 --- a/cpu/msp430_common/Makefile.dep +++ b/cpu/msp430_common/Makefile.dep @@ -1,8 +1,5 @@ USEMODULE += msp430_common msp430_common_periph -# msp430 uses newlib by default -DEFAULT_MODULE += newlib - ifneq (,$(filter newlib,$(USEMODULE))) USEMODULE += newlib_nano endif diff --git a/cpu/msp430fxyz/Makefile.default b/cpu/msp430fxyz/Makefile.default new file mode 100644 index 0000000000..72e709ca8f --- /dev/null +++ b/cpu/msp430fxyz/Makefile.default @@ -0,0 +1 @@ +include $(RIOTCPU)/msp430_common/Makefile.default