summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-08-10 17:06:12 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-08-11 20:32:18 +0200
commite206ab7a78ab988a8111a5d2dd24318cd9ae14ff (patch)
tree3ee9c370334dfbdcdce2ced7eb6a063a7e3ab6a8 /Makefile.inc
parent934693955f30e34885de2540191bccf43fcff894 (diff)
downloadcoreboot-e206ab7a78ab988a8111a5d2dd24318cd9ae14ff.tar.gz
coreboot-e206ab7a78ab988a8111a5d2dd24318cd9ae14ff.tar.bz2
coreboot-e206ab7a78ab988a8111a5d2dd24318cd9ae14ff.zip
build system: drop -cbfstool-opts variable support
It was a band-aid that isn't required any more. Change-Id: Ib1793ae8fe25eecf9bd5ab8e5feef0d9380b43c2 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/16142 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc11
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 64cfc8694b17..0098ab2b86f8 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -605,14 +605,6 @@ extract_nth=$(subst *,$(spc),$(patsubst -%-,%,$(word $(1), $(subst |,- -,-$(2)-)
# multiple CBFSes in fmap regions, override it.
regions-for-file ?= COREBOOT
-# The last sequence of the cbfs-add-cmd-for-region allows for per-file CBFS
-# options associated with a given region. The following example adds
-# '-b 0x10000' to the cbfstool arguments when being added to the COREBOOT
-# region. This allows options to specifically target certain CBFS regions.
-#
-# cbfs-files-y += file.bin
-# file.bin-COREBOOT-cbfstool-opts := -b 0x10000
-
ifeq ($(CONFIG_CBFS_AUTOGEN_ATTRIBUTES),y)
cbfs-autogen-attributes=-g
endif
@@ -633,8 +625,7 @@ define cbfs-add-cmd-for-region
-r $(2) \
$(if $(call extract_nth,6,$(1)),-a $(call extract_nth,6,$(file)), \
$(if $(call extract_nth,5,$(file)),-b $(call extract_nth,5,$(file)))) \
- $(call extract_nth,7,$(1)) \
- $($(call extract_nth,2,$(1))-$(2)-cbfstool-opts)
+ $(call extract_nth,7,$(1))
endef