Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
20a3814a9c
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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