diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2015-10-21 12:02:39 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2015-10-27 11:12:02 +0100 |
commit | d1adafec0507109629fa4d1005e510a3234e04fb (patch) | |
tree | 718c8fd50df3d6d5550015f98b3d1f1e2a14bcf3 /src/cpu | |
parent | c19f876e94d3fc52d367d98352523bb52d07b753 (diff) |
cpu: create an empty file when no microcode files are given
Having an empty microcode file makes it more easy to debug
in comparison to a not existing file in cbfs. There are some
platforms (e.g. ep80579) which support microcode updates but
not having any microcode updates yet in our tree.
These platform hang the build because `cat` is called with no
parameters.
Change-Id: I2699bde0c62ae62ca888686f8b496e845c36d970
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: http://review.coreboot.org/12109
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc index d9390610c6..52b58f7ecb 100644 --- a/src/cpu/Makefile.inc +++ b/src/cpu/Makefile.inc @@ -40,7 +40,7 @@ endif $(obj)/cpu_microcode_blob.bin: $$(cpu_microcode_bins) @printf " MICROCODE $(subst $(obj)/,,$(@))\n" @echo $(cpu_microcode_bins) - cat $+ > $@ + cat /dev/null $+ > $@ cbfs-files-$(cbfs_include_ucode) += cpu_microcode_blob.bin cpu_microcode_blob.bin-file := $(cpu_ucode_cbfs_file) |