From 2b658246b00433baffcae143141f908144441177 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 21 Apr 2023 09:50:01 +0200 Subject: [PATCH] sys/luid: move dependency resolution in its own Makefile.dep --- sys/Makefile.dep | 8 -------- sys/luid/Makefile.dep | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) create mode 100644 sys/luid/Makefile.dep diff --git a/sys/Makefile.dep b/sys/Makefile.dep index 80584cc8bf..364888b6f1 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -346,10 +346,6 @@ ifneq (,$(filter telnet,$(USEMODULE))) USEMODULE += sock_tcp endif -ifneq (,$(filter luid,$(USEMODULE))) - FEATURES_OPTIONAL += periph_cpuid -endif - ifneq (,$(filter fib,$(USEMODULE))) USEMODULE += universal_address USEMODULE += xtimer @@ -686,10 +682,6 @@ ifneq (,$(filter gcoap_dns,$(USEMODULE))) USEMODULE += sock_util endif -ifneq (,$(filter luid,$(USEMODULE))) - FEATURES_OPTIONAL += periph_cpuid -endif - ifneq (,$(filter nanocoap_dtls,$(USEMODULE))) USEMODULE += sock_dtls USEPKG += tinydtls diff --git a/sys/luid/Makefile.dep b/sys/luid/Makefile.dep new file mode 100644 index 0000000000..dbfc189c79 --- /dev/null +++ b/sys/luid/Makefile.dep @@ -0,0 +1 @@ +FEATURES_OPTIONAL += periph_cpuid