summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-05-16 13:12:35 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-18 12:16:53 +0000
commitea83e3e9fe9d6a271d0047a520f8a8fb832d4340 (patch)
tree2934b2f80765b1cfdfd195a4a96031707f0d1729 /Makefile.inc
parent6e09b3bde954424162ceb7a739059f9b9f38a7aa (diff)
downloadcoreboot-ea83e3e9fe9d6a271d0047a520f8a8fb832d4340.tar.xz
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 <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/26323 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc4
1 files changed, 2 insertions, 2 deletions
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) \