From 34ce438e6fc6ccab926141e462216e0430097507 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Thu, 24 Sep 2015 19:00:47 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/11706 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) --- util/cbfstool/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc index 0938ea9e67..a1dbfc3efc 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) -- cgit v1.2.3