[coreboot-gerrit] Change in coreboot[master]: util/intelmetool: Add Makefile target for OLDARC definition

Matthias Gazzari (Code Review) gerrit at coreboot.org
Mon May 21 20:58:51 CEST 2018


Matthias Gazzari has uploaded this change for review. ( https://review.coreboot.org/26450


Change subject: util/intelmetool: Add Makefile target for OLDARC definition
......................................................................

util/intelmetool: Add Makefile target for OLDARC definition

This allows one to compile intelmetool with support for older ME
versions by setting the OLDARC preprocessor definition.

For example, conpiling with OLDARC enabled avoids the "ME: GET FW
VERSION message failed:" error on the Lenovo X201i (ME version 6.0).

Change-Id: I5eb0da7663e795f790e2723bb334447380724b56
Signed-off-by: Matthias Gazzari <mail at qtux.eu>
---
M util/intelmetool/Makefile
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/26450/1

diff --git a/util/intelmetool/Makefile b/util/intelmetool/Makefile
index b455a0e..dcb1703 100644
--- a/util/intelmetool/Makefile
+++ b/util/intelmetool/Makefile
@@ -38,6 +38,9 @@
 
 all: pciutils dep $(PROGRAM)
 
+oldarc: all
+oldarc: CFLAGS += -DOLDARC
+
 $(PROGRAM): $(OBJS)
 	$(CC) $(CFLAGS) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
 
@@ -83,6 +86,6 @@
 	mkdir -p $(DESTDIR)$(PREFIX)/sbin
 	$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
 
-.PHONY: all clean distclean dep pciutils
+.PHONY: all clean distclean dep pciutils oldarc
 
 -include .dependencies

-- 
To view, visit https://review.coreboot.org/26450
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5eb0da7663e795f790e2723bb334447380724b56
Gerrit-Change-Number: 26450
Gerrit-PatchSet: 1
Gerrit-Owner: Matthias Gazzari <mail at qtux.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180521/2cf407bc/attachment.html>


More information about the coreboot-gerrit mailing list