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

Side by Side Diff: tests/tpm_lite/Makefile

Issue 3389004: Rehaul of firmware TPM tests (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: remove leaked change Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « firmware/version.c ('k') | tests/tpm_lite/clear.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 INCLUDES += -I./include \ 5 INCLUDES += -I./include \
6 -I$(FWDIR)/lib/include \ 6 -I$(FWDIR)/lib/include \
7 -I$(FWDIR)/lib/cgptlib/include \ 7 -I$(FWDIR)/lib/cgptlib/include \
8 -I$(FWDIR)/lib/cryptolib/include \ 8 -I$(FWDIR)/lib/cryptolib/include \
9 -I$(FWDIR)/lib/tpm_lite/include \ 9 -I$(FWDIR)/lib/tpm_lite/include \
10 -I$(HOSTDIR)/include 10 -I$(HOSTDIR)/include
11 BUILD_ROOT = ${BUILD}/tests/tpm_lite 11 BUILD_ROOT = ${BUILD}/tests/tpm_lite
12 12
13 TEST_NAMES = tpmtest_clear \ 13 TEST_NAMES = tpmtest_earlyextend \
14 tpmtest_earlyextend \
15 tpmtest_earlynvram \ 14 tpmtest_earlynvram \
16 tpmtest_earlynvram2 \ 15 tpmtest_earlynvram2 \
17 tpmtest_enable \ 16 tpmtest_enable \
18 tpmtest_fastenable \ 17 tpmtest_fastenable \
19 tpmtest_globallock \ 18 tpmtest_globallock \
20 tpmtest_lock \ 19 tpmtest_redefine_unowned \
21 tpmtest_readonly \
22 tpmtest_redefine \
23 tpmtest_spaceperm \ 20 tpmtest_spaceperm \
24 » tpmtest_startup \ 21 » tpmtest_testsetup \
22 » tpmtest_timing \
25 tpmtest_writelimit \ 23 tpmtest_writelimit \
26 24
27 TEST_BINS = $(addprefix ${BUILD_ROOT}/,$(TEST_NAMES)) 25 TEST_BINS = $(addprefix ${BUILD_ROOT}/,$(TEST_NAMES))
26 SHARED_TEST_OBJ = $(BUILD_ROOT)/tlcl_tests.o
28 27
29 ALL_DEPS = $(addsuffix .d,${TEST_BINS}) 28 ALL_DEPS = $(addsuffix .d,${TEST_BINS})
30 CFLAGS += -MMD -MF $@.d 29 CFLAGS += -MMD -MF $@.d
31 30
32 LIBS := ${TEST_LIB} $(HOSTLIB) $(FWLIB) 31 LIBS := ${TEST_LIB} $(HOSTLIB) $(FWLIB)
33 32
34 all: $(TEST_BINS) 33 all: $(TEST_BINS)
35 34
36 ${BUILD_ROOT}/%.o : %.c 35 ${BUILD_ROOT}/%.o : %.c
37 $(CC) $(CFLAGS) $(INCLUDES) -MMD -MF $@.d -c -o $@ $< 36 $(CC) $(CFLAGS) $(INCLUDES) -MMD -MF $@.d -c -o $@ $<
38 37
39 ${BUILD_ROOT}/tpmtest_%: %.c ${LIBS} 38 ${BUILD_ROOT}/tpmtest_%: %.c ${LIBS} ${SHARED_TEST_OBJ}
40 » $(CC) $(CFLAGS) $(INCLUDES) $< ${LIBS} -o $@ -lcrypto -lrt $(LDFLAGS) 39 » $(CC) $(CFLAGS) $(INCLUDES) $< ${SHARED_TEST_OBJ} \
40 » ${LIBS} -o $@ -lcrypto -lrt $(LDFLAGS)
41 41
42 -include ${ALL_DEPS} 42 -include ${ALL_DEPS}
OLDNEW
« no previous file with comments | « firmware/version.c ('k') | tests/tpm_lite/clear.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698