From ac2e2e2165e6c29bbc00965bb3cced1a77b815ee Mon Sep 17 00:00:00 2001
From: Kaspar Schleiser <kaspar@schleiser.de>
Date: Thu, 31 Aug 2017 00:49:57 +0200
Subject: [PATCH] sys: luid: add optional periph_cpuid feature dependency

---
 Makefile.dep | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile.dep b/Makefile.dep
index 3323dbb026..47f9d795bb 100644
--- a/Makefile.dep
+++ b/Makefile.dep
@@ -715,6 +715,10 @@ USEPKG += nanocoap
 USEMODULE += gnrc_sock_udp
 endif
 
+ifneq (,$(filter luid,$(USEMODULE)))
+  FEATURES_OPTIONAL += periph_cpuid
+endif
+
 # always select gpio (until explicit dependencies are sorted out)
 FEATURES_OPTIONAL += periph_gpio
 
-- 
GitLab