summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-20a3814a9cd2d5f73518f65101c3015879e0a92a.zip
mtk-20170518-20a3814a9cd2d5f73518f65101c3015879e0a92a.tar.gz
mtk-20170518-20a3814a9cd2d5f73518f65101c3015879e0a92a.tar.bz2
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 8844a47..0822979 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