[coreboot-gerrit] New patch to review for coreboot: 579ee1a cpu/intel/fsp_model_206ax: change realpath to readlink

Martin Roth (martin.roth@se-eng.com) gerrit at coreboot.org
Mon May 19 23:30:20 CEST 2014


Martin Roth (martin.roth at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5793

-gerrit

commit 579ee1a579b1511e46ef5c000db6e227ca254f7c
Author: Martin Roth <gaumless at gmail.com>
Date:   Mon May 19 15:28:00 2014 -0600

    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 derivitaves don't seem to include realpath.
    
    Change-Id: I0a80a1d9b563810bdf96aea9d5de79ce1cea457a
    Signed-off-by: Martin Roth <gaumless at gmail.com>
---
 src/cpu/intel/fsp_model_206ax/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpu/intel/fsp_model_206ax/Makefile.inc b/src/cpu/intel/fsp_model_206ax/Makefile.inc
index c6d7339..cb7f2a8 100644
--- a/src/cpu/intel/fsp_model_206ax/Makefile.inc
+++ b/src/cpu/intel/fsp_model_206ax/Makefile.inc
@@ -8,7 +8,7 @@ smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c
 cpu_microcode-$(CONFIG_CPU_MICROCODE_CBFS_GENERATE)  += microcode_blob.c
 
 ifneq ($(CONFIG_MICROCODE_INCLUDE_PATH),)
-ifneq ($(wildcard $(shell realpath -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



More information about the coreboot-gerrit mailing list