From 1f4adb2775dce26fd91070fb333b788217c0012d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 21 Apr 2023 10:15:17 +0200 Subject: [PATCH] sys/uuid: move dependency resolution in its own Makefile.dep --- sys/Makefile.dep | 6 ------ sys/uuid/Makefile.dep | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 sys/uuid/Makefile.dep diff --git a/sys/Makefile.dep b/sys/Makefile.dep index 57081a04da..7419b47d05 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -680,12 +680,6 @@ ifneq (,$(filter usbus_msc,$(USEMODULE))) USEMODULE += mtd_write_page endif -ifneq (,$(filter uuid,$(USEMODULE))) - USEMODULE += hashes - USEMODULE += random - USEMODULE += fmt -endif - ifneq (,$(filter riotboot_flashwrite, $(USEMODULE))) USEMODULE += riotboot_slot FEATURES_REQUIRED += periph_flashpage diff --git a/sys/uuid/Makefile.dep b/sys/uuid/Makefile.dep new file mode 100644 index 0000000000..b7e9dd7ea1 --- /dev/null +++ b/sys/uuid/Makefile.dep @@ -0,0 +1,3 @@ +USEMODULE += hashes +USEMODULE += random +USEMODULE += fmt