build system: reformat cbfs-add-cmd
Change-Id: Iccf2c0ac62d410fd541d7aa244b9989b92584c13 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/13498 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
40e1fac56a
commit
4ba65aacae
18
Makefile.inc
18
Makefile.inc
|
@ -650,15 +650,15 @@ ifeq ($(CONFIG_CBFS_AUTOGEN_ATTRIBUTES),y)
|
|||
endif
|
||||
|
||||
cbfs-add-cmd = \
|
||||
printf " CBFS $(call extract_nth,2,$(file))\n"; \
|
||||
$(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))) \
|
||||
$(if $(call extract_nth,4,$(file)),-c $(call extract_nth,4,$(file))) $(cbfs-autogen-attributes)\
|
||||
-r $(call regions-for-file,$(call extract_nth,2,$(file))) \
|
||||
$(call extract_nth,7,$(file))
|
||||
printf " CBFS $(call extract_nth,2,$(file))\n"; \
|
||||
$(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))) \
|
||||
$(if $(call extract_nth,4,$(file)),-c $(call extract_nth,4,$(file))) $(cbfs-autogen-attributes)\
|
||||
-r $(call regions-for-file,$(call extract_nth,2,$(file))) \
|
||||
$(call extract_nth,7,$(file))
|
||||
|
||||
cbfs-files=$(cbfs-files-fixed) $(cbfs-files-aligned) $(cbfs-files-regular)
|
||||
ifneq ($(CONFIG_UPDATE_IMAGE),y)
|
||||
|
|
Loading…
Reference in New Issue