From ea83e3e9fe9d6a271d0047a520f8a8fb832d4340 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Wed, 16 May 2018 13:12:35 +0200 Subject: 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: Nico Huber Reviewed-on: https://review.coreboot.org/26323 Reviewed-by: Paul Menzel Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.inc') diff --git a/Makefile.inc b/Makefile.inc index b11f6e231e..10b7d1ba1e 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -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) \ -- cgit v1.2.3