Commit c113b570 authored by Uwe Hermann's avatar Uwe Hermann
Browse files

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: default avatarUwe Hermann <uwe@hermann-uwe.de>
Acked-by: default avatarStefan Reinauer <stepan@coresystems.de>
parent c22f542c
...@@ -8,6 +8,8 @@ PROGRAM = flashrom ...@@ -8,6 +8,8 @@ PROGRAM = flashrom
CC = gcc CC = gcc
STRIP = strip STRIP = strip
INSTALL = /usr/bin/install
PREFIX = /usr/local
#CFLAGS = -O2 -g -Wall -Werror #CFLAGS = -O2 -g -Wall -Werror
CFLAGS = -Os -Wall -Werror -DDISABLE_DOC # -DTS5300 CFLAGS = -Os -Wall -Werror -DDISABLE_DOC # -DTS5300
LDFLAGS = -lpci -lz -static LDFLAGS = -lpci -lz -static
...@@ -45,6 +47,9 @@ pciutils: ...@@ -45,6 +47,9 @@ pciutils:
rm -f .test.c .test; exit 1) rm -f .test.c .test; exit 1)
@rm -f .test.c .test @rm -f .test.c .test
install: $(PROGRAM)
$(INSTALL) flashrom $(PREFIX)/bin
.PHONY: all clean distclean dep pciutils .PHONY: all clean distclean dep pciutils
-include .dependencies -include .dependencies
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment