From a5ae62e9d25a07538677dd9967bbe3208f324ef8 Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Tue, 3 Nov 2015 15:04:59 -0800 Subject: util: add archive tool 'archive' concatenates files into a single binary blob. Files are indexed by the base names. See archive.h for the format description. BUG=chromium:502066 BRANCH=tot TEST=Tested on Glados Change-Id: Iea108160e65c8c7bd34c02af824a77cb075ee64b Signed-off-by: Patrick Georgi Original-Commit-Id: 21a9ba860f29599ac029f8d49d32399c4e3a73a8 Original-Change-Id: I46b4efb339e3a1e05772ae752f2861026ca09cfc Original-Signed-off-by: Daisuke Nojiri Original-Reviewed-on: https://chromium-review.googlesource.com/311200 Original-Reviewed-by: Aaron Durbin Original-Reviewed-by: Randall Spangler Reviewed-on: https://review.coreboot.org/12925 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel --- util/archive/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 util/archive/Makefile (limited to 'util/archive/Makefile') diff --git a/util/archive/Makefile b/util/archive/Makefile new file mode 100644 index 0000000000..a592a627fa --- /dev/null +++ b/util/archive/Makefile @@ -0,0 +1,14 @@ +PROGRAM = archive +CC ?= gcc + +SRCS = $(PROGRAM).c + +all: $(PROGRAM) + +$(PROGRAM): $(SRCS) + $(CC) -o $@ $^ + +clean: + rm -f $(PROGRAM) *.o + +.PHONY: all clean -- cgit v1.2.3