浏览代码

rules.mk: reduce shexport to one line to allow it to be put in a target context

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 43018
Felix Fietkau 11 年之前
父节点
当前提交
20a3814a9c
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      rules.mk

+ 1 - 2
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