summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-03-21 23:31:31 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-03-24 16:33:59 +0000
commitcc85ce0aa0d6a1e2a254282faf871a8f0a5ffe2f (patch)
tree5f2f2c1d051ac2d923ce17c2f51f68bc86c0987a /util
parent4bd69273882c66667590f098f2b9bb916b6c1a44 (diff)
downloadcoreboot-cc85ce0aa0d6a1e2a254282faf871a8f0a5ffe2f.tar.xz
util/inteltool: add inteltool path to include path
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 <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39744 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/inteltool/Makefile1
1 files changed, 1 insertions, 0 deletions
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