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

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

Issue 2561001: Fix LoadKernel() (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos
Patch Set: Make requested changes. Rename bootloader start to bootloader address. 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 | src/platform/vboot_reference/utility/load_kernel_test.c » ('j') | 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 \
29 signature_digest_utility \ 30 signature_digest_utility \
30 verify_data 31 verify_data
31 # Note: load_kernel_test is not part of TARGET_BINS, since it's a
32 # temporary test.
33 32
34 all: $(TARGET_BINS) subdirs 33 all: $(TARGET_BINS) subdirs
35 34
36 .PHONY: subdirs 35 .PHONY: subdirs
37 subdirs: 36 subdirs:
38 set -e; \ 37 set -e; \
39 for i in $(SUBDIRS); do \ 38 for i in $(SUBDIRS); do \
40 $(MAKE) -C $$i $(MAKECMDGOALS); \ 39 $(MAKE) -C $$i $(MAKECMDGOALS); \
41 done 40 done
42 41
(...skipping 24 matching lines...) Expand all
67 set -e; \ 66 set -e; \
68 for i in $(SUBDIRS); do \ 67 for i in $(SUBDIRS); do \
69 $(MAKE) -C $$i clean; \ 68 $(MAKE) -C $$i clean; \
70 done 69 done
71 rm -f $(TARGET_BINS) 70 rm -f $(TARGET_BINS)
72 71
73 install: $(TARGET_BINS) subdirs 72 install: $(TARGET_BINS) subdirs
74 mkdir -p $(DESTDIR) 73 mkdir -p $(DESTDIR)
75 cp -f $(TARGET_BINS) $(DESTDIR) 74 cp -f $(TARGET_BINS) $(DESTDIR)
76 chmod a+rx $(patsubst %,$(DESTDIR)/%,$(TARGET_BINS)) 75 chmod a+rx $(patsubst %,$(DESTDIR)/%,$(TARGET_BINS))
OLDNEW
« no previous file with comments | « no previous file | src/platform/vboot_reference/utility/load_kernel_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698