summaryrefslogtreecommitdiff
path: root/src/soc/intel/fsp_baytrail/microcode
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2014-05-19 15:28:00 -0600
committerMartin Roth <gaumless@gmail.com>2014-05-30 23:52:17 +0200
commitae6e0c6bebc45f4c0b21a68e636a0d87b78db9cb (patch)
tree9cbd056f7aa983a669385578646ab5cd8a2c46d9 /src/soc/intel/fsp_baytrail/microcode
parentd75800c7f2476bee243cc22255acb54d6676d4bc (diff)
cpu/intel/fsp_model_206ax: change realpath to readlink
realpath and readlink can be used to do the same thing - in this case we're turning path1/path2/../path3/path4 into path1/path3/path4 so that the makefile's wildcard routine can evaluate it. Debian derivatives don't seem to include realpath. (and even when it's installed, it's not the gnu coreutils version.) Change-Id: I0a80a1d9b563810bdf96aea9d5de79ce1cea457a Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: http://review.coreboot.org/5793 Reviewed-by: Marc Jones <marc.jones@se-eng.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc/intel/fsp_baytrail/microcode')
-rw-r--r--src/soc/intel/fsp_baytrail/microcode/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/fsp_baytrail/microcode/Makefile.inc b/src/soc/intel/fsp_baytrail/microcode/Makefile.inc
index 012c712174..f6ee1356bf 100644
--- a/src/soc/intel/fsp_baytrail/microcode/Makefile.inc
+++ b/src/soc/intel/fsp_baytrail/microcode/Makefile.inc
@@ -19,7 +19,7 @@
cpu_microcode-$(CONFIG_CPU_MICROCODE_CBFS_GENERATE) += microcode_blob.c
ifneq ($(CONFIG_MICROCODE_INCLUDE_PATH),)
-ifneq ($(wildcard $(shell realpath -q -L "$(top)/$(CONFIG_MICROCODE_INCLUDE_PATH)")),)
+ifneq ($(wildcard $(shell readlink -f "$(top)/$(CONFIG_MICROCODE_INCLUDE_PATH)")),)
CPPFLAGS_common += -I$(CONFIG_MICROCODE_INCLUDE_PATH)
endif
endif