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 | c113b5707251218a30958f24f9f1c8d45dec8d5c (patch) | |
tree | 2b966a9a0a065bd684df5b9841a1a3ea40fa5f57 /Makefile | |
parent | c22f542c743ff24f2a1b99cfb03f9b74e8ff294d (diff) | |
download | flashrom-c113b5707251218a30958f24f9f1c8d45dec8d5c.tar.gz flashrom-c113b5707251218a30958f24f9f1c8d45dec8d5c.tar.bz2 flashrom-c113b5707251218a30958f24f9f1c8d45dec8d5c.zip |
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>
Diffstat (limited to 'Makefile')
-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 |