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 <[EMAIL PROTECTED]>
Acked-by: Stefan Reinauer <[EMAIL PROTECTED]>
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
--
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios