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 | a762241f1e3c750258e4d9d91e821b943bb1cf78 (patch) | |
tree | 2b966a9a0a065bd684df5b9841a1a3ea40fa5f57 | |
parent | 551301fd3ffbc39aef59c4df5dec64e3a5e95675 (diff) | |
download | flashrom-a762241f1e3c750258e4d9d91e821b943bb1cf78.zip flashrom-a762241f1e3c750258e4d9d91e821b943bb1cf78.tar.gz |
Add an install target to the flashrom Makefile which installs flashrom into /usr/local/bin
Corresponding to flashrom svn r82 and coreboot v2 svn r2524.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |