summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-05-16 13:12:35 +0200
committerMartin Roth <martinroth@google.com>2018-05-16 19:00:17 +0000
commit6794ce02d45273427c1c6675950c8468380c040a (patch)
treeb330b65c4dd5c14e65b549b7dd1ff3000d4ae9d8
parent5f0b80b880b6b30359fcbeb9291f4846c0fbce22 (diff)
downloadcoreboot-4.8.1.tar.gz
coreboot-4.8.1.tar.bz2
coreboot-4.8.1.zip
Makefile.inc: Drop spurious `-t` from `cbfstool add-payload`4.8.1
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 <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/26332 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc
index b11f6e231e49..10b7d1ba1e75 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) \