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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43018 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2014-10-22 08:57:20 +00:00
parent 09976aa562
commit 3da7d95965
1 changed files with 1 additions and 2 deletions

View File

@ -278,8 +278,7 @@ V_$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
endef endef
define shexport define shexport
$(call shvar,$(1))=$$(call $(1)) export $(call shvar,$(1))=$$(call $(1))
export $(call shvar,$(1))
endef endef
define include_mk define include_mk