summaryrefslogtreecommitdiff
path: root/util/inteltool/Makefile
diff options
context:
space:
mode:
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