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

Unified Diff: utility/cgpt/Makefile

Issue 2719008: Nearly complete rewrite of cgpt tool. (Closed) Base URL: ssh://git@chromiumos-git//vboot_reference.git
Patch Set: 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 | « utility/Makefile ('k') | utility/cgpt/cgpt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/cgpt/Makefile
diff --git a/utility/cgpt/Makefile b/utility/cgpt/Makefile
deleted file mode 100644
index 78de27f773cb0f47a08ec403e088d217ffc16e49..0000000000000000000000000000000000000000
--- a/utility/cgpt/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-
-# 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)
-
-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 cgpt_tofix.o $(LIBS)
- $(CC) -o cgpt $(CFLAGS) $^
-
-.c.o: $(INCLUDES)
- $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
-clean:
- rm -f cgpt *.o *~
-
-install: cgpt
- mkdir -p $(DESTDIR)
- cp -f $^ $(DESTDIR)
- chmod a+rx $(patsubst %,$(DESTDIR)/%,$^)
« no previous file with comments | « utility/Makefile ('k') | utility/cgpt/cgpt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698