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

Unified Diff: src/platform/vboot_reference/utility/cgpt/Makefile

Issue 2438005: Much rearranging of cgptlib. Passes all its (new) unit tests. (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos
Patch Set: Pre commit Created 10 years, 7 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/vboot_reference/utility/Makefile ('k') | src/platform/vboot_reference/utility/cgpt/cgpt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/utility/cgpt/Makefile
diff --git a/src/platform/vboot_reference/utility/cgpt/Makefile b/src/platform/vboot_reference/utility/cgpt/Makefile
index a6f7e79ca0f8034b1631e80de85e210f9971fe62..78de27f773cb0f47a08ec403e088d217ffc16e49 100644
--- a/src/platform/vboot_reference/utility/cgpt/Makefile
+++ b/src/platform/vboot_reference/utility/cgpt/Makefile
@@ -1,9 +1,12 @@
+
# Copyright (c) 2009 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 ?= cc
+# Include /usr/include from inside the chroot, so that we get a version
+# of endian.h which contains endian-conversion macros - htole32(), etc.
INCLUDES += -I$(TOP)/common/include -I$(TOP)/../../../chroot/usr/include/
CFLAGS += -Wall -Werror -ggdb
LIBS += $(FWLIB)
@@ -13,7 +16,7 @@ DESTDIR ?= /opt/bin
all: cgpt
cgpt: cgpt.o cgpt_add_modify_delete.o cgpt_attribute.o cgpt_dev.o \
- cgpt_options.o cgpt_repair.o cgpt_show.o $(LIBS)
+ cgpt_options.o cgpt_repair.o cgpt_show.o cgpt_tofix.o $(LIBS)
$(CC) -o cgpt $(CFLAGS) $^
.c.o: $(INCLUDES)
« no previous file with comments | « src/platform/vboot_reference/utility/Makefile ('k') | src/platform/vboot_reference/utility/cgpt/cgpt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698