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

Unified Diff: vfirmware/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 | « vboot_firmware/Makefile ('k') | vkernel/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vfirmware/Makefile
diff --git a/vfirmware/Makefile b/vfirmware/Makefile
index f4ce6ba93825f6f79868477ae99e36514c5bab8c..d18d19fd73173444a75b77a55c01eaf1f260edc3 100644
--- a/vfirmware/Makefile
+++ b/vfirmware/Makefile
@@ -2,19 +2,17 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-CC ?= gcc
INCLUDES += -I./include \
-I$(FWDIR)/lib/include \
-I$(FWDIR)/lib/cryptolib/include \
-I../common/include \
-I../misclibs/include
-CFLAGS ?= -Wall -DNDEBUG -O3 -Werror
-FIRMWARE_OUT = firmware_image.o
-all: $(FIRMWARE_OUT)
+BUILD_ROOT := ${BUILD}/vfirmware
-.c.o:
- $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+ALL_SRCS = firmware_image.c
+
+include ../common.mk
+
+all: $(ALL_OBJS)
-clean:
- rm -f $(FIRMWARE_OUT)
« no previous file with comments | « vboot_firmware/Makefile ('k') | vkernel/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698