[coreboot-gerrit] Change in coreboot[master]: util/inteltool: include commonlib even when CFLAGS are passe...

Patrick Georgi (Code Review) gerrit at coreboot.org
Tue Jun 13 16:57:06 CEST 2017


Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/20188


Change subject: util/inteltool: include commonlib even when CFLAGS are passed in
......................................................................

util/inteltool: include commonlib even when CFLAGS are passed in

make -C util/inteltool CFLAGS="-O" failed because commonlib wasn't found
anymore.

Change-Id: I4c74300bf287143cfa8f7e8babed69651f406912
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
M util/inteltool/Makefile
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/20188/1

diff --git a/util/inteltool/Makefile b/util/inteltool/Makefile
index b51f5a2..1d53d18 100644
--- a/util/inteltool/Makefile
+++ b/util/inteltool/Makefile
@@ -22,7 +22,8 @@
 CC      ?= gcc
 INSTALL ?= /usr/bin/install
 PREFIX  ?= /usr/local
-CFLAGS  ?= -O2 -g -Wall -W -I$(top)/src/commonlib/include
+CFLAGS  ?= -O2 -g -Wall -W
+CFLAGS  += -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

-- 
To view, visit https://review.coreboot.org/20188
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c74300bf287143cfa8f7e8babed69651f406912
Gerrit-Change-Number: 20188
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>



More information about the coreboot-gerrit mailing list