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

Unified Diff: src/platform/tpm_lite/src/tlcl/Makefile.firmware

Issue 1787004: TPM Lite: Add a "firmware" target for building TPM Lite (Closed)
Patch Set: Add a separate makefile for firmware compilation. Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/tpm_lite/src/tlcl/Makefile ('k') | src/platform/tpm_lite/src/tlcl/saved-structures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/tpm_lite/src/tlcl/Makefile.firmware
diff --git a/src/platform/tpm_lite/src/tlcl/Makefile.firmware b/src/platform/tpm_lite/src/tlcl/Makefile.firmware
new file mode 100644
index 0000000000000000000000000000000000000000..06b4ddaa1e5068dcdecbf0adae9c449f3ddbcfd9
--- /dev/null
+++ b/src/platform/tpm_lite/src/tlcl/Makefile.firmware
@@ -0,0 +1,16 @@
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+CC ?= gcc
+CFLAGS += -Wall -Werror -ansi -DFIRMWARE
+
+all: firmware
+
+.PHONY: firmware
+
+firmware: tlcl.c tlcl_internal.h tlcl.h saved-structures.h
+ $(CC) -Wall -Werror -ansi -DFIRMWARE -c tlcl.c
+
+clean:
+ rm -f *.o
« no previous file with comments | « src/platform/tpm_lite/src/tlcl/Makefile ('k') | src/platform/tpm_lite/src/tlcl/saved-structures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698