diff --git a/Makefile.rules b/Makefile.rules index 050d932e81..8e341e2585 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -42,7 +42,7 @@ cmd_flat_to_obj = $(CC) -T $(out)/firmware_image.lds -nostdlib $(CPPFLAGS) \ cmd_ec_elf_to_flat ?= $(OBJCOPY) --set-section-flags .roshared=share \ -O binary $< $@ cmd_elf_to_signed ?= sudo $(out)/util/signer --key=util/signer/$(3) \ - --input=$< --format=bin --output=$@.signed \ + --input=$< --format=bin --output=$@.signed $(SIG_EXTRA) \ && sudo chown $(shell whoami) $@.signed && mv $@.signed $@ cmd_elf_to_dis = $(OBJDUMP) -D $< > $@ cmd_elf_to_hex = $(OBJCOPY) -O ihex $< $@ diff --git a/board/cr50/build.mk b/board/cr50/build.mk index 2fe51066f9..3a1c734afc 100644 --- a/board/cr50/build.mk +++ b/board/cr50/build.mk @@ -16,6 +16,7 @@ CHIP_VARIANT ?= cr50_fpga # second time. ifeq ($(BOARD_MK_INCLUDED_ONCE),) BOARD_MK_INCLUDED_ONCE=1 +SIG_EXTRA = --cros else # Need to generate a .hex file