[coreboot-gerrit] New patch to review for coreboot: cbfstool: Proper commonlib include path with no dependency on $(src)

Paul Kocialkowski (contact@paulk.fr) gerrit at coreboot.org
Thu Sep 24 17:02:44 CET 2015


Paul Kocialkowski (contact at paulk.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11706

-gerrit

commit 1cfbcefac7613c3bb73fd07ad842e8c4cf5a538b
Author: Paul Kocialkowski <contact at paulk.fr>
Date:   Thu Sep 24 19:00:47 2015 +0200

    cbfstool: Proper commonlib include path with no dependency on $(src)
    
    $(src) is not defined when building directly from the cbfs directory (that is,
    when building cbfs as standalone, running make in the cbfs directory), so we
    need to define the path to the commonlib include path relative to $(top).
    
    Change-Id: I72e80b030d4a156ec653ded5ab1457b16f612526
    Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
---
 util/cbfstool/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc
index 0938ea9..a1dbfc3 100644
--- a/util/cbfstool/Makefile.inc
+++ b/util/cbfstool/Makefile.inc
@@ -50,7 +50,7 @@ TOOLCPPFLAGS += -D_XOPEN_SOURCE=700 # strdup() from string.h
 TOOLCPPFLAGS += -I$(top)/util/cbfstool/flashmap
 TOOLCPPFLAGS += -I$(top)/util/cbfstool
 TOOLCPPFLAGS += -I$(objutil)/cbfstool
-TOOLCPPFLAGS += -I$(src)/commonlib/include
+TOOLCPPFLAGS += -I$(top)/src/commonlib/include
 TOOLLDFLAGS ?=
 
 ifeq ($(shell uname -s | cut -c-7 2>/dev/null), MINGW32)



More information about the coreboot-gerrit mailing list