summaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2018-08-09 12:30:39 -0600
committerPatrick Georgi <pgeorgi@google.com>2018-08-13 12:17:25 +0000
commit128b0cf66ee2df3227c7099ffcf3deb2d335440a (patch)
treed84a30c2c411f08a42aedb6c676fe6b7c8b60c33 /src/security
parent9ed805cc7687988b8783a2835aee64a6381d9ae3 (diff)
downloadcoreboot-128b0cf66ee2df3227c7099ffcf3deb2d335440a.tar.xz
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>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/vboot/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc
index 7d404288af..2b4e7d4c64 100644
--- a/src/security/vboot/Makefile.inc
+++ b/src/security/vboot/Makefile.inc
@@ -229,7 +229,7 @@ $(obj)/fwid.version:
$(obj)/fwid.region: $(obj)/fwid.version
printf "%s%s\0" \
"$(CONFIG_VBOOT_FWID_MODEL)" \
- "$(file < $(obj)/fwid.version)" > $@
+ "$$(cat "$(obj)/fwid.version")" > $@
build_complete:: $(obj)/gbb.region $(obj)/fwid.region
@printf " WRITE GBB\n"