Beispiel #1
0
 def build(self,
             target,
             source,
             sign_id,
             config,
             target_base_dir,
             chipset,
             sec_image_policy,
             image_entry,
             relocatable):
     if self.signerbuilder is not None:
         return self.signerbuilder.build(target,
                     source,
                     sign_id,
                     config,
                     target_base_dir,
                     chipset,
                     sec_image_policy,
                     image_entry,
                     relocatable
                     )
     else:
         func_handler = scons_secimage_builder.get_func_handler(self.env)
         return func_handler(target,
                      source,
                      SIGN_ID=sign_id,
                      CONFIG=config,
                      TARGET_BASE_DIR=target_base_dir,
                      CHIPSET=chipset,
                      SEC_IMAGE_POLICY=sec_image_policy,
                      IMAGE_ENTRY=image_entry,
                      RELOCATABLE=relocatable)
 def build(self, target, source, sign_id, jtag_id, soc_hw_version, config,
           target_base_dir, sec_image_policy, image_entry, relocatable):
     if self.signerbuilder is not None:
         return self.signerbuilder.build(target, source, sign_id, jtag_id,
                                         soc_hw_version, config,
                                         target_base_dir, sec_image_policy,
                                         image_entry, relocatable)
     else:
         func_handler = scons_secimage_builder.get_func_handler(self.env)
         return func_handler(target,
                             source,
                             SIGN_ID=sign_id,
                             JTAG_ID=jtag_id,
                             SOC_HW_VERSION=soc_hw_version,
                             CONFIG=config,
                             TARGET_BASE_DIR=target_base_dir,
                             SEC_IMAGE_POLICY=sec_image_policy,
                             IMAGE_ENTRY=image_entry,
                             RELOCATABLE=relocatable)