From 128b0cf66ee2df3227c7099ffcf3deb2d335440a Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Thu, 9 Aug 2018 12:30:39 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/27990 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Philipp Deppenwiese Reviewed-by: Paul Menzel Reviewed-by: Julius Werner --- src/security/vboot/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3