coreboot-kgpe-d16/util/cbfstool/tools/Makefile
Peter Stuge 1d862ded11 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
2009-04-14 00:08:34 +00:00

24 lines
631 B
Makefile

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