summaryrefslogtreecommitdiff
path: root/util/inteltool/Makefile
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2017-04-05 17:30:20 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-06-06 17:46:54 +0200
commitaf83db2659948ea39fa9fb1473cfca7f2d3f6cfd (patch)
treeb55086b17a18060c9056b30e5aae9e34426ef219 /util/inteltool/Makefile
parentc2692111495e30b347c4be5d4228f8e7b8cbfed4 (diff)
downloadcoreboot-af83db2659948ea39fa9fb1473cfca7f2d3f6cfd.tar.xz
inteltool: #include <commonlib/helpers.h>
Change-Id: I66a243486a347313103ffd2cb2ca0447228e4054 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/19586 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/inteltool/Makefile')
-rw-r--r--util/inteltool/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/inteltool/Makefile b/util/inteltool/Makefile
index cb6d1467e0..b51f5a2ad8 100644
--- a/util/inteltool/Makefile
+++ b/util/inteltool/Makefile
@@ -17,10 +17,12 @@
PROGRAM = inteltool
+top ?= $(abspath ../..)
+
CC ?= gcc
INSTALL ?= /usr/bin/install
PREFIX ?= /usr/local
-CFLAGS ?= -O2 -g -Wall -W
+CFLAGS ?= -O2 -g -Wall -W -I$(top)/src/commonlib/include
LDFLAGS += -lpci -lz
OBJS = inteltool.o cpu.o gpio.o rootcmplx.o powermgt.o memory.o pcie.o amb.o ivy_memory.o spi.o gfx.o ahci.o