Commit 6794ce02 authored by Nico Huber's avatar Nico Huber Committed by Martin Roth
Browse files

Makefile.inc: Drop spurious `-t` from `cbfstool add-payload`



The `-t` argument was never required for `add-payload` and results in
a warning now because the type was renamed.

TEST=Built with BUILD_TIMELESS=1 and compared binaries with and without
     this patch.

Change-Id: I6ccb70acc6e88a602b90c625040d4f05d8e3630a
Signed-off-by: default avatarNico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/26332

Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
parent 5f0b80b8
......@@ -685,8 +685,8 @@ define cbfs-add-cmd-for-region
$(filter flat-binary,$(call extract_nth,3,$(1))),-flat-binary) \
-f $(call extract_nth,1,$(1)) \
-n $(call extract_nth,2,$(1)) \
$(if $(filter-out flat-binary,$(filter-out stage,$(call \
extract_nth,3,$(1)))),-t $(call extract_nth,3,$(1))) \
$(if $(filter-out flat-binary payload stage,$(call \
extract_nth,3,$(1))),-t $(call extract_nth,3,$(1))) \
$(if $(call extract_nth,4,$(1)),-c $(call extract_nth,4,$(1))) \
$(cbfs-autogen-attributes) \
-r $(2) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment