Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: src/platform/vboot_reference/utility/Makefile

Issue 2225008: Add install target to put utilities into chroot (in /opt/bin/) (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/platform/vboot_reference/Makefile ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 TOP ?= ../ 5 TOP ?= ../
6 CC ?= gcc 6 CC ?= gcc
7 CXX ?= g++ 7 CXX ?= g++
8 INCLUDES += -I./include \ 8 INCLUDES += -I./include \
9 -I$(FWDIR)/lib/cgptlib/include \ 9 -I$(FWDIR)/lib/cgptlib/include \
10 -I$(FWDIR)/lib/cryptolib/include \ 10 -I$(FWDIR)/lib/cryptolib/include \
(...skipping 24 matching lines...) Expand all
35 35
36 dumpRSAPublicKey: dumpRSAPublicKey.c 36 dumpRSAPublicKey: dumpRSAPublicKey.c
37 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto 37 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto
38 38
39 firmware_utility: firmware_utility.cc $(LIBS) $(FWLIB) 39 firmware_utility: firmware_utility.cc $(LIBS) $(FWLIB)
40 $(CXX) $(CFLAGS) $(INCLUDES) -ggdb -D__STDC_LIMIT_MACROS $< \ 40 $(CXX) $(CFLAGS) $(INCLUDES) -ggdb -D__STDC_LIMIT_MACROS $< \
41 -o $@ $(LIBS) $(FWLIB) -lcrypto 41 -o $@ $(LIBS) $(FWLIB) -lcrypto
42 42
43 kernel_utility: kernel_utility.cc $(LIBS) $(FWLIB) 43 kernel_utility: kernel_utility.cc $(LIBS) $(FWLIB)
44 $(CXX) $(CFLAGS) $(INCLUDES) -ggdb -D__STDC_LIMIT_MACROS $< \ 44 $(CXX) $(CFLAGS) $(INCLUDES) -ggdb -D__STDC_LIMIT_MACROS $< \
45 » -o $@ $(LIBS) $(FWLIB) -lcrypto 45 » -o $@ $(LIBS) $(FWLIB) -lcrypto
46 46
47 signature_digest_utility: signature_digest_utility.c $(LIBS) $(FWLIB) 47 signature_digest_utility: signature_digest_utility.c $(LIBS) $(FWLIB)
48 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FWLIB) -lcrypto 48 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FWLIB) -lcrypto
49 49
50 verify_data: verify_data.c $(LIBS) $(FWLIB) 50 verify_data: verify_data.c $(LIBS) $(FWLIB)
51 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FWLIB) -lcrypto 51 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FWLIB) -lcrypto
52 52
53 clean: 53 clean:
54 set -e; \ 54 set -e; \
55 for i in $(SUBDIRS); do \ 55 for i in $(SUBDIRS); do \
56 $(MAKE) -C $$i clean; \ 56 $(MAKE) -C $$i clean; \
57 done 57 done
58 rm -f $(TARGET_BINS) 58 rm -f $(TARGET_BINS)
59
60 install: $(TARGET_BINS)
61 mkdir -p $(DESTDIR)
62 cp -f $^ $(DESTDIR)
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/Makefile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698