diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-09-14 13:29:27 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-09-14 13:29:27 +0000 |
commit | b7b56dd8fbe123958e196f396dab5ff3000b68dd (patch) | |
tree | 19972cda7bd87504eeea26ed90535e4aa7585da4 /util/cbfstool/tools/Makefile | |
parent | c8d4a05f8f5df06bd98f8ee7d5ef46e61986e6b0 (diff) |
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 <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4630 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/cbfstool/tools/Makefile')
-rw-r--r-- | util/cbfstool/tools/Makefile | 26 |
1 files changed, 0 insertions, 26 deletions
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 - |