security/vboot/Makefile: Use shell cat instead of make file command

The make `file` command is apparently a v4.2 feature only. Replace it
with a shell cat.

BUG=none
TEST=verified fwid.region was created correctly

Change-Id: I5e32a521ad3e6759853f0cde2e4c4db6e564d3be
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/27990
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Raul E Rangel 2018-08-09 12:30:39 -06:00 committed by Patrick Georgi
parent 9ed805cc76
commit 128b0cf66e
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ $(obj)/fwid.version:
$(obj)/fwid.region: $(obj)/fwid.version $(obj)/fwid.region: $(obj)/fwid.version
printf "%s%s\0" \ printf "%s%s\0" \
"$(CONFIG_VBOOT_FWID_MODEL)" \ "$(CONFIG_VBOOT_FWID_MODEL)" \
"$(file < $(obj)/fwid.version)" > $@ "$$(cat "$(obj)/fwid.version")" > $@
build_complete:: $(obj)/gbb.region $(obj)/fwid.region build_complete:: $(obj)/gbb.region $(obj)/fwid.region
@printf " WRITE GBB\n" @printf " WRITE GBB\n"