Browse Source

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 năm trước cách đây
mục cha
commit
20a3814a9c
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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