1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles: avoid extra "/" when including files from external modules

As the `dir` make function considers the last slash as part of the
directory-part of a file name, we don't need to add an extra one.
This commit is contained in:
Leandro Lanzieri 2022-02-01 11:22:06 +01:00
parent 361d41db05
commit 83a16fca47
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
# include external modules dependencies
# processed before RIOT ones to be evaluated before the 'default' rules.
-include $(EXTERNAL_MODULE_PATHS:%=%/Makefile.dep)
-include $(EXTERNAL_MODULE_PATHS:%=%Makefile.dep)
# pull dependencies from sys and drivers
include $(RIOTBASE)/sys/Makefile.dep

View File

@ -578,7 +578,7 @@ include $(RIOTBASE)/sys/Makefile.include
-include $(PKG_PATHS:%=%Makefile.include)
# include external modules configuration
-include $(EXTERNAL_MODULE_PATHS:%=%/Makefile.include)
-include $(EXTERNAL_MODULE_PATHS:%=%Makefile.include)
# Deduplicate includes without sorting them
# see https://stackoverflow.com/questions/16144115/makefile-remove-duplicate-words-without-sorting