j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: mcayland Date: Sun Apr 26 21:49:15 2015 New Revision: 1335 URL: http://tracker.coreboot.org/trac/openbios/changeset/1335
Log: fcode-utils: add Makefile install target
Add an install target to the fcode-utils Makefiles for toke, detok and romheaders so that "make install" will work correctly.
Signed-off-by: John Arbuckle programmingkidx@gmail.com Reviewed-by: Andreas Färber afaerber@suse.de Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/fcode-utils-devel/detok/Makefile trunk/fcode-utils-devel/romheaders/Makefile trunk/fcode-utils-devel/toke/Makefile
Modified: trunk/fcode-utils-devel/detok/Makefile ============================================================================== --- trunk/fcode-utils-devel/detok/Makefile Wed Mar 11 23:58:20 2015 (r1334) +++ trunk/fcode-utils-devel/detok/Makefile Sun Apr 26 21:49:15 2015 (r1335) @@ -24,6 +24,7 @@
PROGRAM = detok
+DESTDIR = /usr/local CC ?= gcc STRIP = strip INCLUDES = -I../shared @@ -63,3 +64,6 @@ .c.o: $(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@
+install: + mkdir -p $(DESTDIR)/bin + cp $(PROGRAM) $(DESTDIR)/bin/$(PROGRAM)
Modified: trunk/fcode-utils-devel/romheaders/Makefile ============================================================================== --- trunk/fcode-utils-devel/romheaders/Makefile Wed Mar 11 23:58:20 2015 (r1334) +++ trunk/fcode-utils-devel/romheaders/Makefile Sun Apr 26 21:49:15 2015 (r1335) @@ -22,6 +22,9 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA #
+PROGRAM = romheaders + +DESTDIR = /usr/local CC ?= gcc STRIP = strip CFLAGS = -O2 -Wall -Wextra @@ -39,4 +42,8 @@
clean: rm -f *~ - rm -f romheaders + rm -f $(PROGRAM) + +install: + mkdir -p $(DESTDIR)/bin + cp $(PROGRAM) $(DESTDIR)/bin/$(PROGRAM)
Modified: trunk/fcode-utils-devel/toke/Makefile ============================================================================== --- trunk/fcode-utils-devel/toke/Makefile Wed Mar 11 23:58:20 2015 (r1334) +++ trunk/fcode-utils-devel/toke/Makefile Sun Apr 26 21:49:15 2015 (r1335) @@ -24,6 +24,7 @@
PROGRAM = toke
+DESTDIR = /usr/local CC ?= gcc STRIP = strip INCLUDES = -I../shared @@ -73,3 +74,6 @@ .c.o: $(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@
+install: + mkdir -p $(DESTDIR)/bin + cp $(PROGRAM) $(DESTDIR)/bin/$(PROGRAM)