From cc85ce0aa0d6a1e2a254282faf871a8f0a5ffe2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Niew=C3=B6hner?= Date: Sat, 21 Mar 2020 23:31:31 +0100 Subject: util/inteltool: add inteltool path to include path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the inteltool path to the include path to be able to avoid ugly include hacks like `#include "../inteltool.h"`. Change-Id: Id363fa20fe3b52248a224ca14b2626a8e3ce44a2 Signed-off-by: Michael Niewöhner Reviewed-on: https://review.coreboot.org/c/coreboot/+/39744 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- util/inteltool/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'util/inteltool') diff --git a/util/inteltool/Makefile b/util/inteltool/Makefile index 0a21c07f53..bc6bcb3e38 100644 --- a/util/inteltool/Makefile +++ b/util/inteltool/Makefile @@ -25,6 +25,7 @@ PREFIX ?= /usr/local CFLAGS ?= -O2 -g -Wall -Wextra -Wmissing-prototypes LDFLAGS += -lpci -lz +CPPFLAGS += -I$(top)/util/inteltool CPPFLAGS += -I$(top)/src/commonlib/include -I$(top)/src/commonlib/bsd/include CPPFLAGS += -I$(top)/src/arch/x86/include -- cgit v1.2.3