From 7ce942ab5401fdf2f1b48a5d741b566083e2ac5c Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 21 Apr 2023 09:47:17 +0200 Subject: [PATCH] sys/isrpipe: move dependency resolution in its own Makefile.dep --- sys/Makefile.dep | 4 ---- sys/isrpipe/Makefile.dep | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 sys/isrpipe/Makefile.dep diff --git a/sys/Makefile.dep b/sys/Makefile.dep index 336a58828a..a5310268c8 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -309,10 +309,6 @@ endif # Include all stdio_% dependencies after all USEMODULE += stdio_% include $(RIOTBASE)/makefiles/stdio.inc.mk -ifneq (,$(filter isrpipe,$(USEMODULE))) - USEMODULE += tsrb -endif - ifneq (,$(filter isrpipe_read_timeout,$(USEMODULE))) USEMODULE += isrpipe USEMODULE += ztimer_usec diff --git a/sys/isrpipe/Makefile.dep b/sys/isrpipe/Makefile.dep new file mode 100644 index 0000000000..11d1afc218 --- /dev/null +++ b/sys/isrpipe/Makefile.dep @@ -0,0 +1 @@ +USEMODULE += tsrb