diff options
-rw-r--r-- | zephyr/zmake/zmake/output_packers.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/zmake/zmake/output_packers.py b/zephyr/zmake/zmake/output_packers.py index ba7cdd9ec2..558f08f7ef 100644 --- a/zephyr/zmake/zmake/output_packers.py +++ b/zephyr/zmake/zmake/output_packers.py @@ -96,6 +96,12 @@ class ElfPacker(BasePacker): yield singleimage / 'zephyr' / 'zephyr.elf', 'zephyr.elf' +class RawBinPacker(BasePacker): + """Raw proxy for zephyr.bin output of a single build.""" + def pack_firmware(self, work_dir, jobclient, singleimage): + yield singleimage / 'zephyr' / 'zephyr.bin', 'zephyr.bin' + + class NpcxPacker(BasePacker): """Packer for RO/RW image to generate a .bin build using FMAP. @@ -167,4 +173,5 @@ class NpcxPacker(BasePacker): packer_registry = { 'elf': ElfPacker, 'npcx': NpcxPacker, + 'raw': RawBinPacker, } |