summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/flashrom/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/flashrom/Makefile b/util/flashrom/Makefile
index 46f3c9f5ad..360952d3b4 100644
--- a/util/flashrom/Makefile
+++ b/util/flashrom/Makefile
@@ -8,6 +8,8 @@ PROGRAM = flashrom
CC = gcc
STRIP = strip
+INSTALL = /usr/bin/install
+PREFIX = /usr/local
#CFLAGS = -O2 -g -Wall -Werror
CFLAGS = -Os -Wall -Werror -DDISABLE_DOC # -DTS5300
LDFLAGS = -lpci -lz -static
@@ -45,6 +47,9 @@ pciutils:
rm -f .test.c .test; exit 1)
@rm -f .test.c .test
+install: $(PROGRAM)
+ $(INSTALL) flashrom $(PREFIX)/bin
+
.PHONY: all clean distclean dep pciutils
-include .dependencies