Skip to content

Commit

Permalink
Makefile.base: sort SUBDIRS for uniqueness
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian18 committed Jan 4, 2025
1 parent b583373 commit b5101d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5101d9

Please sign in to comment.