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>
diff --git a/util/intelmetool/Makefile b/util/intelmetool/Makefile
index b455a0e..d8c056c 100644
--- a/util/intelmetool/Makefile
+++ b/util/intelmetool/Makefile
@@ -38,6 +38,9 @@
 
 all: pciutils dep $(PROGRAM)
 
+oldarc: CFLAGS += -DOLDARC
+oldarc: all
+
 $(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