Skip to content

Commit

Permalink
Merge pull request RIOT-OS#10970 from miri64/make/fix/pseudo-submodules
Browse files Browse the repository at this point in the history
make: Allow for true pseudo-submodules
  • Loading branch information
fjmolinas authored Apr 15, 2020
2 parents b9fda56 + 744fbc5 commit 623381f
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 @@ -41,7 +41,7 @@ ifeq (1, $(SUBMODULES))
BASE_MODULE ?= $(MODULE)

# for each $(BASE_MODULE)_<name> in USEMODULE, add <name>.c to SRC
SRC += $(patsubst $(BASE_MODULE)_%,%.c,$(filter $(BASE_MODULE)_%,$(USEMODULE)))
SRC += $(wildcard $(patsubst $(BASE_MODULE)_%,%.c,$(filter $(BASE_MODULE)_%,$(USEMODULE))))

# don't fail if a selected *.c file does not exist
ifeq (1, $(SUBMODULES_NOFORCE))
Expand Down

0 comments on commit 623381f

Please sign in to comment.