mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
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>
This commit is contained in:
parent
c22f542c74
commit
c113b57072
5
Makefile
5
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user