diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2006-12-14 00:59:41 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2006-12-14 00:59:41 +0000 |
commit | abad5ef8540dee99cb3ac6778ebf079409254da2 (patch) | |
tree | 22c6fadeed191c1964ddce25f4a4fecfc19d7129 | |
parent | f3938bbbbfc59042c014910ed93e939185d511a8 (diff) |
Add an install target to the flashrom Makefile which installs flashrom
into /usr/local/bin. Closes #54.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2524 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/flashrom/Makefile | 5 |
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 |