rules.mk: reduce shexport to one line to allow it to be put in a target context
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43018
This commit is contained in:
parent
d081edf7eb
commit
20a3814a9c
1 changed files with 1 additions and 2 deletions
3
rules.mk
3
rules.mk
|
@ -278,8 +278,7 @@ V_$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
|
|||
endef
|
||||
|
||||
define shexport
|
||||
$(call shvar,$(1))=$$(call $(1))
|
||||
export $(call shvar,$(1))
|
||||
export $(call shvar,$(1))=$$(call $(1))
|
||||
endef
|
||||
|
||||
define include_mk
|
||||
|
|
Loading…
Reference in a new issue