From b7b56dd8fbe123958e196f396dab5ff3000b68dd Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 14 Sep 2009 13:29:27 +0000 Subject: New cbfstool. Works without mmap or fork/exec and supports fixed location files. Some parts are salvaged from the pre-commit version (esp. stage and payload creation), others are completely rewritten (eg. the main loop that handles file addition) Also adapt newconfig (we don't need cbfs/tools anymore) and fix some minor issues in the cbfstool-README. Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4630 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/cbfstool/tools/Makefile | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 util/cbfstool/tools/Makefile (limited to 'util/cbfstool/tools/Makefile') diff --git a/util/cbfstool/tools/Makefile b/util/cbfstool/tools/Makefile deleted file mode 100644 index e750c21bd7..0000000000 --- a/util/cbfstool/tools/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -tobj ?= $(shell pwd) -tsrc ?= $(shell pwd) - -CFLAGS=-g -Wall - -TARGETS += $(tobj)/cbfs-mkstage $(tobj)/cbfs-mkpayload - -tools: $(tobj)/cbfs-mkstage $(tobj)/cbfs-mkpayload - -include $(tsrc)/lzma/Makefile - -COMMON = common.o compress.o $(LZMA_OBJ) - -$(tobj)/cbfs-mkstage: $(tobj)/cbfs-mkstage.o $(patsubst %,$(tobj)/%,$(COMMON)) - $(HOSTCXX) $(CFLAGS) -o $@ $^ - -$(tobj)/cbfs-mkpayload: $(tobj)/cbfs-mkpayload.o $(patsubst %,$(tobj)/%,$(COMMON)) - $(HOSTCXX) $(CFLAGS) -o $@ $^ - -$(tobj)/%.o: %.c - $(HOSTCC) $(CFLAGS) -c -o $@ $< - -tools-clean: - rm -f $(tobj)/cbfs-mkpayload.o $(tobj)/cbfs-mkstage.o $(patsubst %,$(tobj)/%,$(COMMON)) - rm -f $(tobj)/cbfs-mkpayload $(tobj)/cbfs-mkstage - -- cgit v1.2.3