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

Unified Diff: misclibs/Makefile

Issue 2845001: Rework the vboot_reference make system. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Rework the vboot_reference make system. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « host/Makefile ('k') | tests/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: misclibs/Makefile
diff --git a/misclibs/Makefile b/misclibs/Makefile
index 261158b06dc4f8ffb43a7be8f84dff7175277626..732f7eefa49eac7746a9e1e764b5c4fde082f2e5 100644
--- a/misclibs/Makefile
+++ b/misclibs/Makefile
@@ -2,23 +2,16 @@
# 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)/vboot_firmware/lib/cryptolib/include \
-I$(TOP)/vfirmware/include \
-I$(TOP)/vkernel/include
-CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES)
-TOP ?= ../
+BUILD_ROOT := ${BUILD}/misclibs
-MISCLIB_OUT = file_keys.o signature_digest.o
+ALL_SRCS = file_keys.c signature_digest.c
-all: $(MISCLIB_OUT)
+include ../common.mk
-.c.o:
- $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
-
-clean:
- rm -f $(MISCLIB_OUT)
+all: $(ALL_OBJS)
« no previous file with comments | « host/Makefile ('k') | tests/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698