[LinuxBIOS] r2524 - trunk/LinuxBIOSv2/util/flashrom
svn at openbios.org
svn at openbios.org
Thu Dec 14 01:59:44 CET 2006
Author: uwe
Date: 2006-12-14 01:59:41 +0100 (Thu, 14 Dec 2006)
New Revision: 2524
Modified:
trunk/LinuxBIOSv2/util/flashrom/Makefile
Log:
Add an install target to the flashrom Makefile which installs flashrom
into /usr/local/bin. Closes #54.
Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/LinuxBIOSv2/util/flashrom/Makefile
===================================================================
--- trunk/LinuxBIOSv2/util/flashrom/Makefile 2006-12-14 00:43:50 UTC (rev 2523)
+++ trunk/LinuxBIOSv2/util/flashrom/Makefile 2006-12-14 00:59:41 UTC (rev 2524)
@@ -8,6 +8,8 @@
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 @@
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
More information about the coreboot
mailing list