From 50ed85a2fad066e107f4d4970a7e52b10b5a7bed Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 21 Apr 2023 10:04:34 +0200 Subject: [PATCH] sys/entropy_source: move dependency resolution in its own Makefile.dep --- sys/Makefile.dep | 3 --- sys/entropy_source/Makefile.dep | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 sys/entropy_source/Makefile.dep 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