diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2015-09-22 15:21:36 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-09-28 09:33:38 +0000 |
commit | bf84cf93cc67721adb3ee85165fe4aac29e1c556 (patch) | |
tree | 71738d554e0991fe87d783e5ebadd440d49cadf9 /Makefile.inc | |
parent | 9dcf4577075a7dea44fbfcefaa7555ac5ba5beb1 (diff) | |
download | coreboot-bf84cf93cc67721adb3ee85165fe4aac29e1c556.tar.xz |
cbfs: allow cbfs-files to use compression
This change allows files added to cbfs-files-y to specify compression
algorithm.
BUG=none
BRANCH=tot
TEST=Tested on Samus
Change-Id: I29ba0c6f8290b500072a0b17460ee590d6bb6efa
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 4284160bdbbc54ed1da8b5477b02ee315061206b
Original-Change-Id: Idf81e1cc0a1030449da632f6d89cdc87c624f9f3
Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/302132
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11714
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index ac6ce0bd62..b56d0a40d8 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -566,7 +566,9 @@ cbfs-add-cmd = \ $(CBFSTOOL) $@.tmp \ add$(if $(filter stage,$(call extract_nth,3,$(file))),-stage)$(if $(filter payload,$(call extract_nth,3,$(file))),-payload) \ -f $(call extract_nth,1,$(file)) \ - -n $(call extract_nth,2,$(file)) $(if $(filter-out stage,$(call extract_nth,3,$(file))),-t $(call extract_nth,3,$(file))) + -n $(call extract_nth,2,$(file)) \ + $(if $(filter-out stage,$(call extract_nth,3,$(file))),-t $(call extract_nth,3,$(file))) \ + $(if $(call extract_nth,4,$(file)),-c $(call extract_nth,4,$(file))) ifneq ($(CONFIG_UPDATE_IMAGE),y) prebuild-files = \ |