Makefile.include: rename MAKEFILEDIR to LAST_MAKEFILEDIR

Rename the variable to make it clearer that it refers to the last Makefile
included.
Usually this is the current file, but when another Makefile is included this
changes.
This commit is contained in:
Benjamin Valentin
2020-04-28 15:45:27 +02:00
parent 6887e2f40e
commit d5dce87e1b
6 changed files with 9 additions and 9 deletions
@@ -1,3 +1,3 @@
# Use an immediate variable to evaluate `MAKEFILEDIR` now
USEMODULE_INCLUDES_module_exclude := $(MAKEFILEDIR)
# Use an immediate variable to evaluate `LAST_MAKEFILEDIR` now
USEMODULE_INCLUDES_module_exclude := $(LAST_MAKEFILEDIR)
USEMODULE_INCLUDES += $(USEMODULE_INCLUDES_module_exclude)