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

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

Issue 2535001: Remove load_kernel from build (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos
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 | « no previous file | 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/include \ 9 -I$(FWDIR)/lib/include \
10 -I$(FWDIR)/lib/cgptlib/include \ 10 -I$(FWDIR)/lib/cgptlib/include \
11 -I$(FWDIR)/lib/cryptolib/include \ 11 -I$(FWDIR)/lib/cryptolib/include \
12 -I../misclibs/include \ 12 -I../misclibs/include \
13 -I../vfirmware/include\ 13 -I../vfirmware/include\
14 -I../vboot_firmware/include\ 14 -I../vboot_firmware/include\
15 -I../vkernel/include 15 -I../vkernel/include
16 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES) 16 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES)
17 LIBS = $(TOP)/misclibs/file_keys.o \ 17 LIBS = $(TOP)/misclibs/file_keys.o \
18 $(TOP)/misclibs/signature_digest.o \ 18 $(TOP)/misclibs/signature_digest.o \
19 $(TOP)/vfirmware/firmware_image.o \ 19 $(TOP)/vfirmware/firmware_image.o \
20 $(TOP)/vkernel/kernel_image.o 20 $(TOP)/vkernel/kernel_image.o
21 SUBDIRS = cgpt 21 SUBDIRS = cgpt
22 22
23 DESTDIR ?= /opt/bin 23 DESTDIR ?= /opt/bin
24 24
25 TARGET_BINS = dumpRSAPublicKey \ 25 TARGET_BINS = dumpRSAPublicKey \
26 firmware_utility \ 26 firmware_utility \
27 gbb_utility \ 27 gbb_utility \
28 kernel_utility \ 28 kernel_utility \
29 load_kernel_test \
30 signature_digest_utility \ 29 signature_digest_utility \
31 verify_data 30 verify_data
31 # Note: load_kernel_test is not part of TARGET_BINS, since it's a
32 # temporary test.
32 33
33 all: $(TARGET_BINS) subdirs 34 all: $(TARGET_BINS) subdirs
34 35
35 .PHONY: subdirs 36 .PHONY: subdirs
36 subdirs: 37 subdirs:
37 set -e; \ 38 set -e; \
38 for i in $(SUBDIRS); do \ 39 for i in $(SUBDIRS); do \
39 $(MAKE) -C $$i $(MAKECMDGOALS); \ 40 $(MAKE) -C $$i $(MAKECMDGOALS); \
40 done 41 done
41 42
(...skipping 24 matching lines...) Expand all
66 set -e; \ 67 set -e; \
67 for i in $(SUBDIRS); do \ 68 for i in $(SUBDIRS); do \
68 $(MAKE) -C $$i clean; \ 69 $(MAKE) -C $$i clean; \
69 done 70 done
70 rm -f $(TARGET_BINS) 71 rm -f $(TARGET_BINS)
71 72
72 install: $(TARGET_BINS) subdirs 73 install: $(TARGET_BINS) subdirs
73 mkdir -p $(DESTDIR) 74 mkdir -p $(DESTDIR)
74 cp -f $(TARGET_BINS) $(DESTDIR) 75 cp -f $(TARGET_BINS) $(DESTDIR)
75 chmod a+rx $(patsubst %,$(DESTDIR)/%,$(TARGET_BINS)) 76 chmod a+rx $(patsubst %,$(DESTDIR)/%,$(TARGET_BINS))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698