diff options
author | Matthias Gazzari <mail@qtux.eu> | 2018-05-21 20:54:41 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-23 08:31:45 +0000 |
commit | d88cd708772fcd22ffa12191c85755c28dd47bbd (patch) | |
tree | 89d14479ce7f83e3f2bc9fbe3435e16defda94e7 /util | |
parent | e2c2a4c42ba13b6a9055a0ccbdd1658057e44e1c (diff) | |
download | coreboot-d88cd708772fcd22ffa12191c85755c28dd47bbd.tar.xz |
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, compiling 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@qtux.eu>
Reviewed-on: https://review.coreboot.org/26450
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/intelmetool/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/intelmetool/Makefile b/util/intelmetool/Makefile index b455a0ea86..d8c056c3a7 100644 --- a/util/intelmetool/Makefile +++ b/util/intelmetool/Makefile @@ -38,6 +38,9 @@ endif all: pciutils dep $(PROGRAM) +oldarc: CFLAGS += -DOLDARC +oldarc: all + $(PROGRAM): $(OBJS) $(CC) $(CFLAGS) -o $(PROGRAM) $(OBJS) $(LDFLAGS) @@ -83,6 +86,6 @@ install: $(PROGRAM) 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 |