diff options
author | Peter Stuge <peter@stuge.se> | 2009-04-14 00:08:34 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-04-14 00:08:34 +0000 |
commit | 1d862ded11d4a2ca42d3d0aff4ea947dd28bcb68 (patch) | |
tree | d1ffd93a52e3b218827ac85fb19fb5bd51140044 /util/cbfstool/tools/Makefile | |
parent | 450b23fb2ea2f08bd2e1343e0ce34ea72f19c4a9 (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/cbfstool/tools/Makefile')
-rw-r--r-- | util/cbfstool/tools/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/util/cbfstool/tools/Makefile b/util/cbfstool/tools/Makefile new file mode 100644 index 0000000000..bcecf46636 --- /dev/null +++ b/util/cbfstool/tools/Makefile @@ -0,0 +1,24 @@ +tobj ?= $(shell pwd) +tsrc ?= $(shell pwd) + +TARGETS += $(tobj)/rom-mkstage $(tobj)/rom-mkpayload + +tools: $(tobj)/rom-mkstage $(tobj)/rom-mkpayload + +include $(tsrc)/lzma/Makefile + +COMMON = common.o compress.o $(LZMA_OBJ) + +$(tobj)/rom-mkstage: $(tobj)/rom-mkstage.o $(patsubst %,$(tobj)/%,$(COMMON)) + $(CXX) $(CFLAGS) -o $@ $^ + +$(tobj)/rom-mkpayload: $(tobj)/rom-mkpayload.o $(patsubst %,$(tobj)/%,$(COMMON)) + $(CXX) $(CFLAGS) -o $@ $^ + +$(tobj)/%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +tools-clean: + rm -f $(tobj)/rom-mkpayload.o $(tobj)/rom-mkstage.o $(patsubst %,$(tobj)/%,$(COMMON)) + rm -f $(tobj)/rom-mkpayload $(tobj)/rom-mkstage + |