aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-22 08:57:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-22 08:57:20 +0000
commit20a3814a9cd2d5f73518f65101c3015879e0a92a (patch)
treee883daca5f3d1cebada390ee10e42b8d6c779ffa
parentd081edf7ebeccada6c5ad313192764f0b0f6a3e1 (diff)
downloadupstream-20a3814a9cd2d5f73518f65101c3015879e0a92a.tar.gz
upstream-20a3814a9cd2d5f73518f65101c3015879e0a92a.tar.bz2
upstream-20a3814a9cd2d5f73518f65101c3015879e0a92a.zip
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
-rw-r--r--rules.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules.mk b/rules.mk
index 8844a47a1f..0822979012 100644
--- a/rules.mk
+++ b/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