From b5101d9e6852b840c8e197d1baf98688e78d0832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20H=C3=BC=C3=9Fler?= Date: Sat, 4 Jan 2025 22:26:13 +0100 Subject: [PATCH] Makefile.base: sort SUBDIRS for uniqueness --- Makefile.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.base b/Makefile.base index 00d7eb059d8b..95ad434773e3 100644 --- a/Makefile.base +++ b/Makefile.base @@ -112,7 +112,7 @@ ifneq (,$(SUBDIRS_IN_DIRS)) $(patsubst $(CURDIR)/%,./%, $(SUBDIRS_IN_DIRS)). \ Please select a single approach for each subfolder to prevent linking errors.) endif -SUBDIRS := $(filter-out $(BINDIR)/$(MODULE)/, $(dir $(OBJ))) +SUBDIRS := $(sort $(filter-out $(BINDIR)/$(MODULE)/, $(dir $(OBJ)))) include $(RIOTMAKE)/blob.inc.mk include $(RIOTMAKE)/tools/fixdep.inc.mk