Explorar o código

meta-swupdate][PATCH v2 4/4] Fix build issue w.r.t sign_tool

Signed-off-by: Jyothi <jyothik41rao@gmail.com>
Jyothi %!s(int64=4) %!d(string=hai) anos
pai
achega
e10c64068e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      classes/swupdate-common.bbclass

+ 1 - 1
classes/swupdate-common.bbclass

@@ -261,7 +261,7 @@ def prepare_sw_description(d):
 
         if signing == "CUSTOM":
             signcmd = d.getVar('SWUPDATE_SIGN_TOOL', True)
-            if not sign_tool:
+            if not signcmd:
                 bb.fatal("Custom SWUPDATE_SIGN_TOOL is not given")
         elif signing == "RSA":
             privkey = d.getVar('SWUPDATE_PRIVATE_KEY', True)