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

Side by Side Diff: vboot_firmware/Makefile

Issue 2668003: Move tlcl stub implementation to stub subdir. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
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 | vboot_firmware/stub/tlcl.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 LIBNAME = vboot_fw.a 5 LIBNAME = vboot_fw.a
6 6
7 CC ?= gcc 7 CC ?= gcc
8 CFLAGS = -Wall -DNDEBUG -O3 -Werror 8 CFLAGS = -Wall -DNDEBUG -O3 -Werror
9 9
10 FWTOP := $(shell pwd) 10 FWTOP := $(shell pwd)
(...skipping 16 matching lines...) Expand all
27 ./lib/cryptolib/padding.c \ 27 ./lib/cryptolib/padding.c \
28 ./lib/cryptolib/rsa.c \ 28 ./lib/cryptolib/rsa.c \
29 ./lib/cryptolib/rsa_utility.c \ 29 ./lib/cryptolib/rsa_utility.c \
30 ./lib/cryptolib/sha1.c \ 30 ./lib/cryptolib/sha1.c \
31 ./lib/cryptolib/sha2.c \ 31 ./lib/cryptolib/sha2.c \
32 ./lib/cryptolib/sha_utility.c \ 32 ./lib/cryptolib/sha_utility.c \
33 ./lib/firmware_image_fw.c \ 33 ./lib/firmware_image_fw.c \
34 ./lib/kernel_image_fw.c \ 34 ./lib/kernel_image_fw.c \
35 ./lib/load_kernel_fw.c \ 35 ./lib/load_kernel_fw.c \
36 ./lib/rollback_index.c \ 36 ./lib/rollback_index.c \
37 » ./lib/stateful_util.c \ 37 » ./lib/stateful_util.c
38 » ./lib/tlcl.c
39 38
40 LIB_OBJS = $(LIB_SRCS:%.c=%.o) 39 LIB_OBJS = $(LIB_SRCS:%.c=%.o)
41 40
42 # find ./stub -iname '*.c' | sort 41 # find ./stub -iname '*.c' | sort
43 STUB_SRCS = \ 42 STUB_SRCS = \
44 ./stub/boot_device_stub.c \ 43 ./stub/boot_device_stub.c \
44 ./stub/tlcl.c \
45 ./stub/utility_stub.c 45 ./stub/utility_stub.c
46 46
47 STUB_OBJS = $(STUB_SRCS:%.c=%.o) 47 STUB_OBJS = $(STUB_SRCS:%.c=%.o)
48 48
49 49
50 test : $(LIBNAME) 50 test : $(LIBNAME)
51 $(CC) $(CFLAGS) $(INC) -o $(TESTDIR)/a.out $(TESTDIR)/main.c $(LIBNAME) 51 $(CC) $(CFLAGS) $(INC) -o $(TESTDIR)/a.out $(TESTDIR)/main.c $(LIBNAME)
52 52
53 $(LIBNAME) : $(LIB_OBJS) $(STUB_OBJS) 53 $(LIBNAME) : $(LIB_OBJS) $(STUB_OBJS)
54 rm -f $@ 54 rm -f $@
55 ar qc $@ $^ 55 ar qc $@ $^
56 56
57 %o : %c 57 %o : %c
58 $(CC) $(CFLAGS) $(INC) -c -o $@ $< 58 $(CC) $(CFLAGS) $(INC) -c -o $@ $<
59 59
60 clean: FORCE 60 clean: FORCE
61 rm -f $(LIBNAME) $(LIB_OBJS) $(STUB_OBJS) $(TESTDIR)/a.out 61 rm -f $(LIBNAME) $(LIB_OBJS) $(STUB_OBJS) $(TESTDIR)/a.out
62 62
63 FORCE: 63 FORCE:
64 64
65 65
66 .PHONY: FORCE 66 .PHONY: FORCE
OLDNEW
« no previous file with comments | « no previous file | vboot_firmware/stub/tlcl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698