summaryrefslogtreecommitdiff
path: root/util/romtool/Makefile
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-04-14 00:08:34 +0000
committerPeter Stuge <peter@stuge.se>2009-04-14 00:08:34 +0000
commit1d862ded11d4a2ca42d3d0aff4ea947dd28bcb68 (patch)
treed1ffd93a52e3b218827ac85fb19fb5bd51140044 /util/romtool/Makefile
parent450b23fb2ea2f08bd2e1343e0ce34ea72f19c4a9 (diff)
v2/util: romfs -> cbfs rename
It's all sed here. romfs->cbfs, ROMFS->CBFS, romtool->cbfstool Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4110 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/romtool/Makefile')
-rw-r--r--util/romtool/Makefile40
1 files changed, 0 insertions, 40 deletions
diff --git a/util/romtool/Makefile b/util/romtool/Makefile
deleted file mode 100644
index 291c940a18..0000000000
--- a/util/romtool/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-#
-#
-
-obj ?= $(shell pwd)
-
-COMMANDS=create.o bootblock.o delete.o add.o print.o resize.o
-OBJ=$(COMMANDS) romtool.o util.o fs.o
-INC=romtool.h romfs.h
-
-CC=gcc
-CFLAGS=-g -Wall # -W -Werror
-
-DESTDIR ?= /usr/local/bin
-
-all: $(obj)/romtool $(obj)/tools/rom-mkpayload $(obj)/tools/rom-mkstage
-
-$(obj)/romtool: $(patsubst %,$(obj)/%,$(OBJ))
- $(CC) -o $@ $(patsubst %,$(obj)/%,$(OBJ))
-
-tobj = $(obj)/tools
-tsrc = $(shell pwd)/tools
-
-include $(tsrc)/Makefile
-
-$(obj)/%.o: %.c $(INC)
- $(CC) $(CFLAGS) -c -o $@ $<
-
-install: $(obj)/romtool $(obj)/tools/rom-mkpayload $(obj)/tools/rom-mkstage
- @ install -d $(DESTDIR)
- @ install -m 0755 $(obj)/romtool $(DESTDIR)/romtool
- @ install -m 0755 $(obj)/tools/rom-mkstage $(DESTDIR)/rom-mkstage
- @ install -m 0755 $(obj)/tools/rom-mkpayload $(DESTDIR)/rom-mkpayload
-
-tags:
- ctags *.[ch] */*.[ch]
-
-clean: tools-clean
- rm -f $(patsubst %,$(obj)/%,$(OBJ)) $(obj)/romtool
-