diff --git a/sys/Makefile.dep b/sys/Makefile.dep index aba226dbe2..9357015900 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -403,9 +403,6 @@ endif ifneq (,$(filter entropy_source_%,$(USEMODULE))) USEMODULE += entropy_source - ifneq (,$(filter entropy_source_adc_noise,$(USEMODULE))) - FEATURES_REQUIRED += periph_adc - endif endif ifneq (,$(filter puf_sram,$(USEMODULE))) diff --git a/sys/entropy_source/Makefile.dep b/sys/entropy_source/Makefile.dep new file mode 100644 index 0000000000..72852bdb11 --- /dev/null +++ b/sys/entropy_source/Makefile.dep @@ -0,0 +1,3 @@ +ifneq (,$(filter entropy_source_adc_noise,$(USEMODULE))) + FEATURES_REQUIRED += periph_adc +endif