Index: src/platform/vboot_reference/misclibs/Makefile |
diff --git a/src/platform/vboot_reference/misclibs/Makefile b/src/platform/vboot_reference/misclibs/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5aba67e8ecf079fd013e1d7c0471591c6f680d7f |
--- /dev/null |
+++ b/src/platform/vboot_reference/misclibs/Makefile |
@@ -0,0 +1,24 @@ |
+# 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. |
+ |
+TOP ?= ../ |
+CC ?= gcc |
+INCLUDES += -I./include \ |
+ -I$(TOP)/common/include \ |
+ -I$(TOP)/cryptolib/include \ |
+ -I$(TOP)/vfirmware/include \ |
+ -I$(TOP)/vkernel/include |
+ |
+CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES) |
+TOP ?= ../ |
+ |
+MISCLIB_OUT = file_keys.o signature_digest.o |
+ |
+all: $(MISCLIB_OUT) |
+ |
+.c.o: |
+ $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ |
+ |
+clean: |
+ rm -f $(MISCLIB_OUT) |