瀏覽代碼

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

Signed-off-by: Jyothi <jyothik41rao@gmail.com>
Jyothi 4 年之前
父節點
當前提交
ca3cd75274
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)