diff --git a/sys/Makefile.dep b/sys/Makefile.dep index 903ea3ee33..f7bd98dafa 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -65,10 +65,6 @@ ifneq (,$(filter debug_irq_disable,$(USEMODULE))) USEMODULE += fmt endif -ifneq (,$(filter eepreg,$(USEMODULE))) - FEATURES_REQUIRED += periph_eeprom -endif - ifneq (,$(filter fmt_table,$(USEMODULE))) USEMODULE += fmt endif diff --git a/sys/eepreg/Makefile.dep b/sys/eepreg/Makefile.dep new file mode 100644 index 0000000000..5dc182e004 --- /dev/null +++ b/sys/eepreg/Makefile.dep @@ -0,0 +1 @@ +FEATURES_REQUIRED += periph_eeprom