mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 07:21:18 +01:00
Makefile: enable SECONDEXPANSION globally for modules and applications
This commit is contained in:
parent
e768a85f62
commit
19ae0d746a
@ -5,7 +5,7 @@ endif
|
||||
#
|
||||
# enable second expansion of prerequisites.
|
||||
#
|
||||
# Doing that here enables it globally for all modules and the application.
|
||||
# Doing that here enables it globally for all modules
|
||||
#
|
||||
# See https://www.gnu.org/software/make/manual/html_node/Secondary-Expansion.html
|
||||
# for what it can be used for.
|
||||
|
||||
@ -8,6 +8,15 @@ ifeq (,$(filter $(MATCH_MAKE_VERSION),$(MAKE_VERSION)))
|
||||
$(MATCH_MAKE_VERSION) or later.)
|
||||
endif
|
||||
|
||||
#
|
||||
# enable second expansion of prerequisites.
|
||||
#
|
||||
# Doing that here enables it globally for all applications.
|
||||
#
|
||||
# See https://www.gnu.org/software/make/manual/html_node/Secondary-Expansion.html
|
||||
# for what it can be used for.
|
||||
.SECONDEXPANSION:
|
||||
|
||||
# Will evaluate to the absolute path of the Makefile it's evaluated in.¹
|
||||
#
|
||||
# This variable MUST be immediately evaluated (tmp_var := $(LAST_MAKEFILEDIR))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user